Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

closed as off topic by RedGrittyBrick, DragonLord, Diogo, 8088, Dave Oct 2 '12 at 8:06

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
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 Oct 1 '12 at 23:57
    
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 Oct 2 '12 at 0:46
    
You have get more luck asking security.stackexchange.com –  Dave Oct 2 '12 at 8:07

1 Answer 1

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

share|improve this answer
    
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 Oct 26 '12 at 12:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.