2 ms·
-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.
by 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.