11 lines
129 B
Go
Raw Normal View History

2021-11-12 19:06:13 -03:00
package libwallet
import (
"crypto/sha256"
)
func SHA256(data []byte) []byte {
hash := sha256.Sum256(data)
return hash[:]
}