magma - v0.1.3
    Preparing search index...

    Function encryptCTR_ACPKM

    • 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