Liking cljdoc? Tell your friends :D
Clojure only.

clojurewerkz.scrypt.core

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

encryptclj

(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)
sourceraw docstring

verifyclj

(verify candidate hash)

Verifies a value against a hash produced by scrypt

Verifies a value against a hash produced by scrypt
sourceraw docstring

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

× close