BLAKE2Xs extensible output function.

Implements

Constructors

  • Creates a new BLAKE2Xs instance with the given digest length. If digest length is not given, it's considered unknown in advance, thus allowing to generate any number of bytes up to 2^32-1.

    Parameters

    • digestLength: number = UNKNOWN_DIGEST_LENGTH
    • Optionalconfig: Config

    Returns BLAKE2Xs

Properties

blockSize: 64 = BLOCK_SIZE
digestLength: number = UNKNOWN_DIGEST_LENGTH
finish: ((dst: Uint8Array) => this) = ...

Methods