gost3413 - v0.1.4
    Preparing search index...

    Class MGM

    Multilinear Galois Mode (MGM) class

    Index

    Methods

    • Open ciphertext

      Parameters

      • nonce: Uint8Array

        Nonce (blocksized)

      • ciphertext: Uint8Array

        Data to be decrypted and authenticated

      • additional_data: Uint8Array

        Additional data to be authenticated

      Returns Uint8Array

    • Seal plaintext

      Parameters

      • nonce: Uint8Array

        Nonce (blocksized)

      • plaintext: Uint8Array

        Data to be encrypted and authenticated

      • additional_data: Uint8Array

        Additional data to be authenticated

      Returns Uint8Array

    • Prepare nonce

      Just clear MSB bit

      Parameters

      • nonce: Uint8Array

        Nonce

      Returns Uint8Array