Use Minio's optimized SHA-256

This commit is contained in:
Oliver Buschjost
2021-08-27 18:00:50 +02:00
parent 5be12cecbf
commit f61292b00d
4 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
package repo
import (
"crypto/sha256"
"encoding/hex"
"encoding/json"
"fmt"
@@ -16,6 +15,7 @@ import (
"strings"
"time"
"github.com/minio/sha256-simd"
"github.com/miolini/datacounter"
"github.com/restic/rest-server/quota"
)