diff options
Diffstat (limited to 'hash_sha256.go')
| -rw-r--r-- | hash_sha256.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hash_sha256.go b/hash_sha256.go new file mode 100644 index 00000000..e35eab34 --- /dev/null +++ b/hash_sha256.go @@ -0,0 +1,11 @@ +//go:build !sha1 + +package furgit + +import ( + "crypto/sha256" +) + +const HashSize = sha256.Size + +var newHash = sha256.Sum256 |
