crypto/cleanup: remove unused functions

This commit is contained in:
Harshavardhana
2015-07-29 13:09:52 -07:00
parent 179c5441c3
commit 2671b2dbf4
7 changed files with 14 additions and 35 deletions

View File

@@ -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()
}