Liking cljdoc? Tell your friends :D

buddy.core.mac

Message Authentication Code algorithms.

Message Authentication Code algorithms.
raw docstring

hashclj

(hash input engine-or-options)

Generate hmac digest for arbitrary input data, a secret key and hash algorithm.

If algorithm is not supplied, sha256 will be used as default value.

Generate hmac digest for arbitrary
input data, a secret key and hash algorithm.

If algorithm is not supplied, sha256
will be used as default value.
sourceraw docstring

IEnginecljprotocol

-endclj

(-end _)

Generates the mac

Generates the mac

-resetclj

(-reset _)

Reset engine state

Reset engine state

-updateclj

(-update _ input offset length)

Update the engine state.

Update the engine state.
source

IEngineInitcljprotocol

-initclj

(-init _ options)

Initialize the mac

Initialize the mac
source

IMaccljprotocol

-hashclj

(-hash _ engine)

Generate the auth message code

Generate the auth message code

-verifyclj

(-verify _ sig engine)

Verify the auth message code

Verify the auth message code
source

resolve-cipher-engineclj

(resolve-cipher-engine engine)

Given dynamic type engine, try resolve it to valid engine instance. By default accepts keywords and functions.

Given dynamic type engine, try resolve it to
valid engine instance. By default accepts keywords
and functions.
sourceraw docstring

verifyclj

(verify input signature engine-or-options)

Verify hmac for artbitrary input and signature.

Verify hmac for artbitrary input and signature.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close