Nodes/ComfyUI ARG Toolkit/Argon2id Key Derivation
ComfyUI Node

Argon2id Key Derivation

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

By AzelusLightvale·Created 11 months ago·Updated 25 days ago· 1
Argon2id Key Derivation
  • message
  • salt
  • ad
  • secret
  • derived_key
length32
modetrue
iterations1
parallel_lanes4
memory_cost65536
CategoryARG Toolkit/Cryptography/Modern/Key Derivation

Inputs (9)

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.
modeBOOLEANtrue
iterationsINT1Also known as passes, this is used to tune the running time independently of the memory size.
parallel_lanesINT4The number of lanes (parallel threads) to use. Also known as parallelism.
memory_costINT655361–2147483647The amount of memory to use in kibibytes. 1 kibibyte (KiB) is 1024 bytes. This must be at minimum `8 * parallel_lanes`.
adoptBYTESLIKEOptional associated data.
secretoptBYTESLIKEOptional secret data, to be used for keyed hashing.

Outputs (1)

NameTypeDescription
derived_keyBYTESLIKE