The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/crypto/sha256.go

7 lines
124 B

package crypto
import "crypto/sha256"
func HashSha256(message string) [32]byte {
return sha256.Sum256([]byte(message))
}