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

    Function scrypt

    • Derive a key using Scrypt with recommended parameters. Uses N=2^15 (32768), r=8, p=1 as recommended defaults.

      Parameters

      • password: Uint8Array

        Password or passphrase

      • salt: Uint8Array

        Salt value

      • outputLen: number

        Desired output length

      Returns Uint8Array

      Derived key