OSDN Git Service

delete the unused (#323)
[bytom/vapor.git] / vendor / github.com / tendermint / go-crypto / hash.go
diff --git a/vendor/github.com/tendermint/go-crypto/hash.go b/vendor/github.com/tendermint/go-crypto/hash.go
deleted file mode 100644 (file)
index e1d2252..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package crypto
-
-import (
-       "crypto/sha256"
-)
-
-func Sha256(bytes []byte) []byte {
-       hasher := sha256.New()
-       hasher.Write(bytes)
-       return hasher.Sum(nil)
-}