News for hackers. Stuff that matters.
Re:‘I will show you how safe Telegram is’ by layer8 on Thursday February 16, 2023 @09:33AM (#34819120)
You can never ensure that your communication channel isn’t corrupted. But with a one time pad you’ll just receive unreadable garbage then. You‘re also free to sign or checksum messages before encryption.
Re:‘I will show you how safe Telegram is’ by kragen on Thursday February 16, 2023 @09:36AM (#34819155)
if an adversary xors their guess of part of your message and what they want it to say with the one-time-pad ciphertext, they can make it say what they want if the guess is right; this is a general vulnerability with stream ciphers

if they guess wrong, there's a little unreadable garbage in the message, but in many scenarios they only have to guess right once

so you need some kind of message authenticator like hmac

Re:‘I will show you how safe Telegram is’ by acc_297 on Thursday February 16, 2023 @10:19AM (#34819795)
Good point I guess that’s the same as the “heil h**er” vulnerability

Maybe some kind of low density salting would make messages hard to guess but not too hard to read