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

    Class Kuznyechik

    Kuznyechik cipher

    Described by GOST R 34.12-2015 (RFC 7801)

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    blockSize: 16

    Block size

    keySize: 32

    Key size

    Methods

    • Decrypt block

      Parameters

      • ciphertext: TArg<Uint8Array<ArrayBufferLike>>

      Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

    • Encrypt block

      Parameters

      • plaintext: TArg<Uint8Array<ArrayBufferLike>>

      Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>