iya-sts
    Preparing search index...

    Variable pskcDeriveKeyAsync

    pskcDeriveKeyAsync: (
        password: any,
        salt: any,
        iterations: any,
        keyLength: any,
        prfUri: any,
    ) => Promise<any> = pskcDeriveKeyAsync

    Type Declaration

      • (
            password: any,
            salt: any,
            iterations: any,
            keyLength: any,
            prfUri: any,
        ): Promise<any>
      • Derives a PSKC passphrase key with PBKDF2 (RFC 6030 section 6.2, RFC 8018) on libuv's thread pool, the iteration count bounded first.

        Parameters

        • password: any

          the passphrase, as its UTF-8 octets

        • salt: any

          the salt's bytes

        • iterations: any

          the IterationCount

        • keyLength: any

          the KeyLength in octets

        • prfUri: any

          the PRF's Algorithm ('' for PBKDF2's default HMAC-SHA1)

        Returns Promise<any>

        a promise of the key