Liking cljdoc? Tell your friends :D

cryptohash-clj.impl.argon2


chashclj

(chash x)
(chash x opts)

Main entry point for hashing <x> (String/bytes/chars) using Argon2. <opts> can include :type (default :argon2id), version (default :v13), :iterations (default 100), :mem-cost (default 12), :key-length (default 32), and :salt-length (default 16). Returns String.

Main entry point for hashing <x> (String/bytes/chars) using Argon2.
<opts> can include :type (default :argon2id), version (default :v13),
:iterations (default 100), :mem-cost (default 12), :key-length (default 32),
and :salt-length (default 16). Returns String.
sourceraw docstring

IHashablecljprotocol

chash*clj

(chash* this opts)

verify*clj

(verify* this hashed opts)
source

TYPESclj

source

verifyclj

(verify x argon-hashed)
(verify x argon-hashed opts)

Main entry point for verifying that <x> (String/bytes/chars) matches <argon-hashed>. Returns true/false.

Main entry point for verifying that <x> (String/bytes/chars) matches <argon-hashed>.
Returns true/false.
sourceraw docstring

VERSIONSclj

source

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

× close