mirror of
https://github.com/minio/minio.git
synced 2025-11-26 12:36:13 -05:00
crypto/cleanup: remove unused functions
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package sha256
|
||||
|
||||
import (
|
||||
"hash"
|
||||
"io"
|
||||
|
||||
"crypto/sha256"
|
||||
@@ -45,3 +46,8 @@ func Sum(reader io.Reader) ([]byte, error) {
|
||||
}
|
||||
return d.Sum(nil), nil
|
||||
}
|
||||
|
||||
// New returns a new hash.Hash computing SHA256.
|
||||
func New() hash.Hash {
|
||||
return sha256.New()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user