@li0ard/gost341194 - v0.1.6
    Preparing search index...

    Class Gost341194

    GOST R 34.11-94 class

    Implements

    Index

    Constructors

    • GOST R 34.11-94 constructor

      Parameters

      • data: TArg<Uint8Array<ArrayBufferLike>> = ...

        Data to be hashed (optional, can be updated using update method)

      • sbox: Sbox = DEFAULT_SBOX

        S-Box (optional, default is ID_GOSTR_3411_94_CRYPTOPRO_PARAM_SET)

      Returns Gost341194

    Properties

    blockLen: number = BLOCKSIZE

    Bytes processed per compression block.

    canXOF: false

    Whether the instance supports XOF-style variable-length output via xof() / xofInto().

    outputLen: 32

    Bytes produced by digest().

    Methods

    • Copies the current hash state into an existing or new instance.

      Parameters

      • Optionalto: Gost341194

        Optional destination instance to reuse.

      Returns Gost341194

      Cloned hash state.

    • Reset hash state

      Returns void

    • Finalize hash computation and return result as Uint8Array

      Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

    • Finalize hash computation and write result into Uint8Array

      Parameters

      • buf: TArg<Uint8Array<ArrayBufferLike>>

        Output Uint8Array

      Returns void

    • Update hash buffer

      Parameters

      • data: TArg<Uint8Array<ArrayBufferLike>>

      Returns this