Module

Node.Crypto.Hmac

Package
purescript-crypto
Repository
oreshinya/purescript-crypto

#Hmac Source

data Hmac :: Type

#Secret Source

type Secret = String

#hex Source

hex :: forall e. Algorithm -> Secret -> String -> Eff (buffer :: BUFFER, crypto :: CRYPTO | e) String

#base64 Source

base64 :: forall e. Algorithm -> Secret -> String -> Eff (buffer :: BUFFER, crypto :: CRYPTO | e) String

#createHmac Source

createHmac :: forall e. Algorithm -> Secret -> Eff (crypto :: CRYPTO | e) Hmac

#update Source

update :: forall e. Hmac -> Buffer -> Eff (crypto :: CRYPTO | e) Hmac

#digest Source

digest :: forall e. Hmac -> Eff (crypto :: CRYPTO | e) Buffer