file-store/pkg/storefile/util.go
2022-08-23 21:56:32 -05:00

11 lines
128 B
Go

package storefile
import (
"crypto/sha256"
)
func sha256sum(input []byte) []byte {
v := sha256.Sum256(input)
return v[:]
}