def scrypt.words
import bend-kit-crypto@0.2.2.2/crypto.bend as Cryptoimport Base
41# Scrypt (RFC 7914): N >= 2 is a power of two; r and p are positive.
42# maxmem bounds the scrypt workspace plus output in octets; zero or over-budget costs fail with EINVAL.
43def scrypt.words(plen: U32, pass: Array<U32>, slen: U32, salt: Array<U32>,
44 N: U32, r: U32, p: U32, maxmem: U32, n: U32) ->
45 IO(Result<&1, &1, U32 & String, U32 & Array<U32>>):
46 import "./effs/crypto.c"
47 import "./effs/crypto.js"
Uses (6)
Used by (0)
No other definition uses this definition.