gost3413 - v0.1.4
    Preparing search index...

    Function ctr_acpkm

    • Wrapper for Counter with Advance Cryptographic Prolongation of Key Material (CTR-ACPKM) mode

      For decryption you SHOULD use this function again

      Parameters

      • cipherClass: ACPKMConstructor

        Cipher class (see ACPKMConstructor and ACPKMClass)

      • encrypter: CipherFunc

        Encrypting function, that takes block as input

      • sectionSize: number

        ACPKM section size (N)

      • blockSize: number

        Cipher block size

      • data: Uint8Array

        Input data

      • iv: Uint8Array

        Initialization vector (Half of block size)

      Returns Uint8Array