Liking cljdoc? Tell your friends :D

macchiato.crypto.scrypt


checkcljs

(check raw hash)

compares the raw password with the hash, returns a boolean

compares the raw password with the hash, returns a boolean
raw docstring

check-asynccljs

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

default-optscljs


encryptcljs

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

encrypt-asynccljs

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

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

× close