Nodes/ComfyUI ARG Toolkit/Scrypt Key Verification
ComfyUI Node

Scrypt Key Verification

A ComfyUI node in ARG Toolkit/Cryptography/Modern/Key Derivation with 7 inputs and 1 output.

By AzelusLightvale·Created 11 months ago·Updated 25 days ago· 1
Scrypt Key Verification
  • message
  • salt
  • expected_key
  • verified_status
length32
n14
r8
p1
CategoryARG Toolkit/Cryptography/Modern/Key Derivation

Inputs (7)

NameTypeDefaultDescription
lengthINT3216–256The desired length of the derived key in bytes.
messageBYTESLIKEThe message to derive key from. Must be bytes.
saltBYTESLIKEThe nonce used to generate the key. Use SystemRandom (Random Nonce Generator) to generate this.
nINT14The CPU/Memory cost parameter. Normally, this must be larger than 1 and a power of 2. This specific implementation uses the direct power to exponentiate 2 (as in 2^n, or, in Python, `2**n`), minimum 1.
rINT8The block size parameter. Affects memory costs and sequential memory-hard properties by controlling memory access patterns and memory block size.
pINT1The parallel factor parameter. Affects the number of mixing functions to run in parallel. Can help in multi-core systems, but also makes it easier for attackers with parallel hardware.
expected_keyBYTESLIKEThe expected result of key derivation.

Outputs (1)

NameTypeDescription
verified_statusBOOLEAN