diff --git a/internal/lib/crypto/sha256/sha256.go b/internal/lib/crypto/sha256/sha256.go index d55b3d97..480325be 100644 --- a/internal/lib/crypto/sha256/sha256.go +++ b/internal/lib/crypto/sha256/sha256.go @@ -66,8 +66,3 @@ func Sum256(data []byte) (ret [Size]byte) { openssl.SHA256Bytes(data, &ret[0]) return } - -func Sum(data []byte) (ret [Size]byte) { - openssl.SHA256Bytes(data, &ret[0]) - return -} diff --git a/internal/lib/crypto/sha512/sha512.go b/internal/lib/crypto/sha512/sha512.go index 53ff4700..0cdf6ec9 100644 --- a/internal/lib/crypto/sha512/sha512.go +++ b/internal/lib/crypto/sha512/sha512.go @@ -72,11 +72,6 @@ func Sum512(data []byte) (ret [Size]byte) { return } -func Sum(data []byte) (ret [Size]byte) { - openssl.SHA512Bytes(data, &ret[0]) - return -} - func New512_224() hash.Hash { panic("todo: New512_224") }