Idris2Doc : Crypto.Hash

Crypto.Hash

(source)

Reexports

importpublic Crypto.Hash.Interfaces
importpublic Crypto.Hash.SHA2
importpublic Crypto.Hash.SHA1
importpublic Crypto.Hash.MD5

Definitions

init : (0algo : Type) ->Hashalgo=>algo
  basically `Hash.initialize` but with explicit type argument

Visibility: public export
hash : (0algo : Type) -> {auto{conArg:9572} : Hashalgo} ->ListBits8->Vectdigest_nbyteBits8
  hash a sequence of bytes and produce a digest

Visibility: public export
init_mac : (0algo : Type) ->MACkeyalgo=>key->algo
  basically `MAC.initialize` but with explicit type argument

Visibility: public export
mac : (0algo : Type) -> {auto{conArg:9620} : MACkeyalgo} ->key->ListBits8->Vectdigest_nbyteBits8
  hash a sequence of bytes with key and produce a digest

Visibility: public export