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

    Class Kuznyechik

    Kuznyechik (GOST R 34.12-2015) cipher

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    blockSize: 16 = BLOCKSIZE

    Block size

    keySize: 32 = KEYSIZE

    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>