magma - v0.1.3
    Preparing search index...

    Variable decryptCTR_ACPKMConst

    decryptCTR_ACPKM: (
        key: Uint8Array,
        data: Uint8Array,
        iv: Uint8Array,
    ) => Uint8Array = encryptCTR_ACPKM

    Decrypts data using Counter with Advance Cryptographic Prolongation of Key Material (CTR-ACPKM) mode with Magma cipher.

    Type declaration

      • (key: Uint8Array, data: Uint8Array, iv: Uint8Array): Uint8Array
      • Encrypts data using the Counter with Advance Cryptographic Prolongation of Key Material (CTR-ACPKM) mode with Magma cipher.

        Parameters

        • key: Uint8Array

          Encryption key

        • data: Uint8Array

          Data to be encrypted

        • iv: Uint8Array

          Initialization vector

        Returns Uint8Array

    Encryption key

    Data to be decrypted

    Initialization vector