Liking cljdoc? Tell your friends :D

cryptohash-clj.impl.bcrypt


chashclj

(chash x)
(chash x opts)

Main entry point for hashing <x> (String/bytes/chars) using BCrypt. <opts> can include a :cpu-cost (default 14), :version (default 2y), and a :long-value strategy (defaults to :sha512). Returns String.

Main entry point for hashing <x> (String/bytes/chars) using BCrypt.
<opts> can include a :cpu-cost (default 14), :version (default 2y),
and a :long-value strategy (defaults to :sha512). Returns String.
sourceraw docstring

IHashablecljprotocol

chash*clj

(chash* this opts)

verify*clj

(verify* this hashed opts)
source

MAX_BYTESclj

source

salt-lengthclj

source

verifyclj

(verify x bcrypt-hashed)
(verify x bcrypt-hashed opts)

Main entry point for verifying that <x> (String/bytes/chars) matches <bcrypt-hashed>. If a :long-value strategy (other than the default) was when creating <bcrypt-hashed> <opts> must include it too. Returns true/false.

Main entry point for verifying that <x> (String/bytes/chars) matches <bcrypt-hashed>.
If a :long-value strategy (other than the default) was when creating <bcrypt-hashed>
<opts> must include it too. Returns true/false.
sourceraw docstring

VERSIONSclj

source

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

× close