Module

Node.Crypto.Hash

Package
purescript-crypto
Repository
oreshinya/purescript-crypto

#Hash Source

data Hash :: Type

https://nodejs.org/api/crypto.html#crypto_class_hash

Usage:

buf <- Buffer.fromString "dummy" UTF8
Hash.createHash "sha512" >>= Hash.update buf >>= Hash.digest >>= Buffer.toString Hex