ComfyUI Node
Scrypt Key Verification
A ComfyUI node in ARG Toolkit/Cryptography/Modern/Key Derivation with 7 inputs and 1 output.
Scrypt Key Verification
- message
- salt
- expected_key
- verified_status
◄length32►
◄n14►
◄r8►
◄p1►
CategoryARG Toolkit/Cryptography/Modern/Key Derivation
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| length | INT | 3216–256 | The desired length of the derived key in bytes. |
| message | BYTESLIKE | The message to derive key from. Must be bytes. | |
| salt | BYTESLIKE | The nonce used to generate the key. Use SystemRandom (Random Nonce Generator) to generate this. | |
| n | INT | 14 | The 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. |
| r | INT | 8 | The block size parameter. Affects memory costs and sequential memory-hard properties by controlling memory access patterns and memory block size. |
| p | INT | 1 | The 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_key | BYTESLIKE | The expected result of key derivation. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| verified_status | BOOLEAN | — |