Class CramerShoupCiphertext


  • public class CramerShoupCiphertext
    extends Object
    Class, holding Cramer Shoup ciphertexts (u1, u2, e, v)
    • Constructor Detail

      • CramerShoupCiphertext

        public CramerShoupCiphertext()
      • CramerShoupCiphertext

        public CramerShoupCiphertext​(byte[] c)
    • Method Detail

      • toByteArray

        public byte[] toByteArray()
        convert the cipher-text in a byte array, prepending them with 4 Bytes for their length
        Returns:
        a byte array of the cipher text.