Functions for encrypting passwords using the widely-used bcrypt algorithm.
Functions for encrypting passwords using the widely-used bcrypt algorithm. See: https://github.com/patrickfav/bcrypt
(check raw encrypted)
Compare a raw string with a string encrypted with the encrypt
function.
Returns true if the string matches, false otherwise.
Compare a raw string with a string encrypted with the [[encrypt]] function. Returns true if the string matches, false otherwise.
(encrypt raw)
(encrypt raw work-factor)
Encrypt a password string using the BCrypt algorithm. The optional work factor is the log2 of the number of hashing rounds to apply. The default work factor is 12.
Encrypt a password string using the BCrypt algorithm. The optional work factor is the log2 of the number of hashing rounds to apply. The default work factor is 12.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close