@li0ard/gost - v0.1.4
    Preparing search index...

    Variable streebog256Const

    streebog256: { blockLen: number; canXOF: boolean; outputLen: number } & HashInfo & {
        create(): Streebog256;
        (
            msg: TArg<Uint8Array<ArrayBufferLike>>,
        ): Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
    } & (
        ...args: [msg: TArg<TArg<Uint8Array<ArrayBufferLike>>>],
    ) => Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer> & {
        blockLen: number;
        canXOF: boolean;
        oid?: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
        outputLen: number;
        create(): Streebog256;
    } = ...

    Streebog-256 (GOST R 34.11-2012) hash function

    Type Declaration

    • blockLen: number

      Input block size in bytes.

    • canXOF: boolean

      Whether .create() returns a hash instance that can be used as an XOF stream.

    • outputLen: number

      Digest size in bytes.

      • (
            msg: TArg<Uint8Array<ArrayBufferLike>>,
        ): Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>
      • Parameters

        • msg: TArg<Uint8Array<ArrayBufferLike>>

        Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

    • create: function
      • (
            ...args: [msg: TArg<TArg<Uint8Array<ArrayBufferLike>>>],
        ): Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>
      • Parameters

        • ...args: [msg: TArg<TArg<Uint8Array<ArrayBufferLike>>>]

        Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

    • blockLen: number

      Input block size in bytes.

    • canXOF: boolean

      Whether .create() returns a hash instance that can be used as an XOF stream.

    • Optionaloid?: Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

      DER-encoded object identifier bytes for the hash algorithm.

    • outputLen: number

      Digest size in bytes.

    • create: function