Options
All
  • Public
  • Public/Protected
  • All
Menu

This key derivation function is meant to conform with EVP_BytesToKey. www.openssl.org/docs/crypto/EVP_BytesToKey.html

Hierarchy

  • EvpKDF

Index

Constructors

Methods

Constructors

constructor

Methods

compute

Static create

  • create(cfg?: { hasher?: HasherStatic; iterations: number; keySize: number }): cryptojs.algo.EvpKDF
  • Initializes a newly created key derivation function.

    example
    var kdf = CryptoJS.algo.EvpKDF.create();
    var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
    var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });

    Parameters

    • Optional cfg: { hasher?: HasherStatic; iterations: number; keySize: number }

      (Optional) The configuration options to use for the derivation.

      • Optional hasher?: HasherStatic
      • iterations: number
      • keySize: number

    Returns cryptojs.algo.EvpKDF

Generated using TypeDoc