Use Minio's optimized SHA-256

This commit is contained in:
Oliver Buschjost
2021-08-27 18:21:44 +02:00
parent 5be12cecbf
commit f61292b00d
4 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -3,7 +3,6 @@ package restserver
import (
"bytes"
"crypto/rand"
"crypto/sha256"
"encoding/hex"
"errors"
"fmt"
@@ -17,6 +16,8 @@ import (
"strings"
"sync"
"testing"
"github.com/minio/sha256-simd"
)
func TestJoin(t *testing.T) {