@blockchaincommons/crypto - v1.0.0-beta.3
    Preparing search index...

    Interface Pbkdf2Options

    Options for the PBKDF2 functions.

    interface Pbkdf2Options {
        iterations: number;
        dkLen: number;
    }
    Index
    iterations: number

    PBKDF2 iteration count; an integer in [0, 2^32 − 1]. 0 derives what 1 does: the reference's pbkdf2 0.12.2 computes the first block of each output block and then rounds − 1 more, none for 0 or 1.

    dkLen: number

    Derived key length in bytes; an integer in [0, (2^32 − 1) · hLen] (RFC 8018 §5.2, hLen 32 or 64). 0 is an empty key on both sides. An allocation the host cannot make surfaces as InvalidParameter with the engine error as cause.