How can I decode a message encrypted with a one time pad?

0

I know that a one-time pad requires a non-repeating key at least equal to the length of the message to encode, but I have no idea how (or if it is even possible) to decode such a message using a one time pad. Does anyone have any ideas?

SwaroopGiwali

Posted 2012-10-01T23:51:56.627

Reputation: 101

Question was closed 2012-10-02T08:06:58.723

This is off-topic. With a OTP you typically decrypt the ciphertext with the same key and reverse the method that you used to encrypt the plaintext - see the Wikipedia article

– RedGrittyBrick – 2012-10-01T23:57:28.913

You need to know how the one-time pad was convolved with the input source. It may have been a simple bit-wise XOR, in which case you just XOR again. Or it may have been something a bit more complex. – Daniel R Hicks – 2012-10-02T00:46:37.980

You have get more luck asking http://security.stackexchange.com/

– Dave – 2012-10-02T08:07:22.533

Answers

2

Do it the same way it was encrypted, but backwards.

Ignacio Vazquez-Abrams

Posted 2012-10-01T23:51:56.627

Reputation: 100 516

With the most common kind of one-time-pad, you use xor to combine keystream and text which is even identical in both directions. – CodesInChaos – 2012-10-26T12:27:17.323