Message Authentication Code algorithms.
Message Authentication Code algorithms.
(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.
(-end _)
Generates the mac
Generates the mac
(-reset _)
Reset engine state
Reset engine state
(-update _ input offset length)
Update the engine state.
Update the engine state.
(-hash _ engine)
Generate the auth message code
Generate the auth message code
(-verify _ sig engine)
Verify the auth message code
Verify the auth message code
(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.
(verify input signature engine-or-options)
Verify hmac for artbitrary input and signature.
Verify hmac for artbitrary input and signature.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close