2023-04-05

(sph scrypt)

bindings to the scrypt key derivation function. depends on https://github.com/jkalbhenn/scrypt

part of sph-lib

module name

(sph scrypt)

exported bindings

procedure: scrypt password salt size logN r p ->
bytevector bytevector integer integer integer integer -> bytevector:hash
procedure: scrypt->string password [salt size N r p] ->
bytevector bytevector integer integer integer integer -> string:base91-encoded-hash
procedure: scrypt-check key args ... ->
procedure: scrypt-defaults ->
-> (salt salt-length size N r p)
get scrypt-library defaults for the values
variable: sph-scrypt-description