[Typo3-dev] OT: Encryption
Chi Hoang
hoang at planb-media.de
Mon Apr 5 15:38:59 CEST 2004
Kasper Skårhøj wrote:
> I basically know nothing about encryption (which is why I humbly ask
> the list to educate me) but this method seems to be quite powerful to
> me; as long as the sender and received uses the same character
> sequence to encode/decode the string and that sequence is long
> enough, it must be next to impossible to decode the string, or...?
Hi Kasper,
we used this XOR-Method back in the days on our demos and intros in the late
80 (all in 68000-assembler language on Atari ST ;) ), too. Very simple
fast, and very effective. And I think you are right, if the attacker dont
know the key, and the key is used only once(!), then it is the best
encryption so far. Otherwise the attacker could make a statistical research
on the output of the encrypted code and sooner or later he has the password.
But you dont need the whole bible as password string in most cases. The
password string has just to be as long as the input string to make it safe -
not lesser or longer. And if you use it only once it is unbreakable. But Im
not a crypto-expert or so. Just curious.
Greets,
Chi
More information about the TYPO3-dev
mailing list