aboutsummaryrefslogtreecommitdiff
path: root/zsig/sum.go
diff options
context:
space:
mode:
Diffstat (limited to 'zsig/sum.go')
-rw-r--r--zsig/sum.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsig/sum.go b/zsig/sum.go
index 846a140..7ce9a9d 100644
--- a/zsig/sum.go
+++ b/zsig/sum.go
@@ -5,6 +5,11 @@ import (
"io"
)
+const (
+ Algoritghm = "SHA512/256"
+ BlockSize = 65536
+)
+
// Sum calculates SHA512/256
func Sum(r io.Reader, blockSize int) chan []byte {
c := make(chan []byte, 1)