(chash x)
(chash x opts)
Main entry point for hashing <x> (String/bytes/chars) using BCrypt.
<opts> must inlude a :cost key and either a pre-constructed :hasher,
or options per new-hasher
. The return value type is dictated by <x>.
Main entry point for hashing <x> (String/bytes/chars) using BCrypt. <opts> must inlude a :cost key and either a pre-constructed :hasher, or options per `new-hasher`. The return value type is dictated by <x>.
(verify x hashed)
(verify x hashed opts)
Main entry point for verifying that <x> (String/bytes/chars) matches <hashed>. <opts> must match the ones used to produce <hashed>. Returns true/false.
Main entry point for verifying that <x> (String/bytes/chars) matches <hashed>. <opts> must match the ones used to produce <hashed>. Returns true/false.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close