Scrypt encryption function.
To learn more about scrypt, see https://www.tarsnap.com/scrypt/scrypt.pdf
Scrypt encryption function. To learn more about scrypt, see https://www.tarsnap.com/scrypt/scrypt.pdf
(encrypt s n r p)
Encrypts a string value using scrypt.
Arguments are:
s (string): a string to encrypt n (integer): CPU cost parameter (16384 is a good starting value) r (integer): RAM cost parameter (8 is a good starting value) p (integer): parallelism parameter (1 is a good starting value)
Encrypts a string value using scrypt. Arguments are: s (string): a string to encrypt n (integer): CPU cost parameter (16384 is a good starting value) r (integer): RAM cost parameter (8 is a good starting value) p (integer): parallelism parameter (1 is a good starting value)
(verify candidate hash)
Verifies a value against a hash produced by scrypt
Verifies a value against a hash produced by scrypt
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close