Files
muun-recovery/vendor/github.com/muun/libwallet/hashes.go
Santiago Lezica 58d843ad79 Release v2.2.0
2021-11-12 19:11:09 -03:00

11 lines
129 B
Go

package libwallet
import (
"crypto/sha256"
)
func SHA256(data []byte) []byte {
hash := sha256.Sum256(data)
return hash[:]
}