scrypt
This block is part of the crypto group and was last modified in core v10.4.28.
scrypt v10.4.28 scrypt is a password-based key derivation function that is designed to be expensive computationally and memory-wise in order to make brute-force attacks unrewarding.
- password required
valueThe password used to scrypt
- salt required
valueThe salt used to scrypt
- length
numberThe key length to be used
- success
condition - output
valuehex output
- error
valueIf an error occured, this pin is filled
Derives a key from password and salt via scrypt with FIXED cost N=16384, r=8, p=1. length is the raw key size in BYTES (default 24); output is its hex encoding, so twice as many characters. Deterministic: identical password, salt and length always produce the same output. On failure success is false and error holds the message.
A typical wiring for scrypt: value feeds the password pin; value feeds the salt pin; the success out pin feeds branch.

Version history
Introduced in v10.4.28.
Back to
crypto Return to the main group to view all sub-groups Back to crypto Return to the group to view all blocks within this group
