Function prepare_ctext

Separating markant (MRK) from ciphertext and correcting ciphertext (if necessary)

  • Parameters

    • str: string

      Ciphertext

    • tweak: number[] = ...

      Tweak for ciphertext correction

    Returns Uint8Array[]