(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close