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.
raw 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.

IEngineInitcljprotocol

-initclj

(-init _ options)

Initialize the mac

Initialize the mac

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

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.
raw docstring

verifyclj

(verify input signature engine-or-options)

Verify hmac for artbitrary input and signature.

Verify hmac for artbitrary input and signature.
raw docstring

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

× close