Fax
  • Member for 4 years, 2 months
  • Last seen more than a month ago
Why is mod calculation necessary in a one time pad encryption?
19 votes

Not using modulus leaks information. For the English language, it's not so obvious. For an image, on the other hand... Left half uses addition and modulus, right half uses addition and division by ...

View answer
Pad ciphertext with arbitrary number of bits
Accepted answer
0 votes

After a bit of additional reading I realized that appending noise to the ciphertext doesn't affect decryption of the plaintext part. The solution is therefore quite simple: Encrypt length + plaintext ...

View answer
Can I encrypt data with multiple keys and decrypt with one?
-2 votes

You could do this with one-time pads. Simply XOR the new pad into both the ciphertext and the decryption key each time.

View answer