Secure hashing for MoonBit (SHA-256, SHA-512; native+WASM)
moon add tigls/mb-crypto/mb-hash{
"deps": {
"tigls/mb-crypto/mb-hash": "*"
}
}{
"import": [
"tigls/mb-crypto/mb-hash/sha2"
]
}let hash256 = @sha2.sha256("hello world")
println(hash256)Secure hashing for MoonBit (SHA-256, SHA-512; native+WASM)