mirror of
https://github.com/muun/recovery.git
synced 2025-02-23 03:22:31 -05:00
11 lines
129 B
Go
11 lines
129 B
Go
|
package libwallet
|
||
|
|
||
|
import (
|
||
|
"crypto/sha256"
|
||
|
)
|
||
|
|
||
|
func SHA256(data []byte) []byte {
|
||
|
hash := sha256.Sum256(data)
|
||
|
return hash[:]
|
||
|
}
|