Liking cljdoc? Tell your friends :D
Clojure only.

crypto.password.bcrypt

Functions for encrypting passwords using the widely-used bcrypt algorithm.

See: https://github.com/patrickfav/bcrypt

Functions for encrypting passwords using the widely-used bcrypt algorithm.

See: https://github.com/patrickfav/bcrypt
raw docstring

checkclj

(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.
raw docstring

encryptclj

(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.
raw docstring

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

× close