Blockchain Commons Crypto TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function argon2idHashOpt

    • Derive a key using Argon2id with custom parameters.

      Parameters

      • password: Uint8Array

        Password or passphrase

      • salt: Uint8Array

        Salt value (must be at least 8 bytes)

      • outputLen: number

        Desired output length

      • iterations: number

        Number of iterations (t)

      • memory: number

        Memory in KiB (m)

      • parallelism: number

        Degree of parallelism (p)

      Returns Uint8Array

      Derived key