4 ms·
One time pads don't give you message integrity, so it's arguably less secure than most standard cryptography in use today.
by y7 9y ago
One time pads don't give you message integrity, so it's arguably less secure than most standard cryptography in use today.
- lb1lf 9y ago-Then again, nothing to prevent you from digitally signing the message encoded in OTP. So, you verify the integrity by a mechanism separate from the encoding. (This may or may not be sufficient, depending on the needs of the OP.) Also, of course - the odds of someone tampering with a message encoded using OTP and having the tamper still appear a valid message once decoded could probably best be described as astronomical.
- aninhumer 9y agoNot really astronomical. If you're just XORing your message with a pad, they can trivially flip bits by position. There are a lot of things an attacker can do with that, especially if they have some idea what you're sending.