(check raw hash)
compares the raw password with the hash, returns a boolean
compares the raw password with the hash, returns a boolean
(check-async raw hash cb)
checks the raw password against the hash the callback receives the following parameters: err, result result is a boolean
checks the raw password against the hash the callback receives the following parameters: err, result result is a boolean
(encrypt raw)
(encrypt raw max-time)
encrypts the password, uses 0.1 for max-time as the default should be wrapped with try/catch
encrypts the password, uses 0.1 for max-time as the default should be wrapped with try/catch
(encrypt-async raw cb)
(encrypt-async raw opts cb)
accepts raw password, map with options, and a callback the callback receives the following parameters: err, result default-opts used when no options are provided
accepts raw password, map with options, and a callback the callback receives the following parameters: err, result default-opts used when no options are provided
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close