@li0ard/gost - v0.2.7
    Preparing search index...

    Function streebog512pbkdf2

    • PBKDF2 over Streebog-512

      Parameters

      • password: TArg<KDFInput>

        password from which a derived key is generated; JS string inputs are UTF-8 encoded first

      • salt: TArg<KDFInput>

        cryptographic salt; JS string inputs are UTF-8 encoded first

      • iter: number

        iteration count. Higher values increase CPU cost.

      • dkLen: number

        desired derived key length in bytes, must be >= 1 per RFC 8018 §5.2.

      Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

      Derived key bytes.

      If the PBKDF2 iteration count or derived-key settings are invalid. Error

      import { streebog512pbkdf2 } from '@li0ard/gost/kdf.js';
      const key = streebog512pbkdf2("password", "salt", 2, 64);