A
A
askogorev2014-05-04 21:17:26
Cryptography
askogorev, 2014-05-04 21:17:26

Is it possible to decrypt text encrypted with XOR

Given:
zip-compressed XOR-encoded
text How can you get the original text without knowing the key?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
demimurych, 2014-05-04
@askogorev

It is the zip archive that was walked through by xor ohm?

A
afiskon, 2014-05-06
@afiskon

If the length of the key is equal to the size of the archive, then you will not decrypt it so easily. If it is much less, say, 8-100 bytes, then you can try.
To begin with, take the known bytes of the zip archive (header, long sequences of zeros, etc., compare with any unencrypted archive) and proxy to the corresponding bytes of the encrypted one. Now you know part of the key. If the key is some kind of phrase, you can guess or pick up the missing bytes. Otherwise, if the key length is known, you can proxy the archive to the known bytes of the key, try to guess the neighboring bytes from the decrypted bytes, get new bytes thanks to them, and start over.
Something like this.

A
Arris, 2014-05-04
@Arris

Take a soldering iron and conduct thermorectal cryptanalysis.
PS Sorry, I couldn't resist.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question