Re: Decrypt CipherValue with different DES2 keys getting a correct padding ?
- From: jdege@xxxxxxxxxxxxxx
- Date: 31 May 2007 13:47:19 -0700
Just for the fun of it, I dumped the BSD fortune database through some
shell scripts (awk, grep, sed, etc.), to see how many 20-character
strings (with punctuation and white-space stripped) would result in
the same encryption with a simple substitution cipher.
More than 80,000 distinct 20-character strings, Eleven duplicates.
Ten of which appeared twice, one appeared once.
The differences were trivial. "ASTHEHITCHHIKERSGUID" vs.
"MSTHEHITCHHIKERSGUID", "HEDIFFERENCEBETWEENA" vs.
"HEDIFFERENCEBETWEENG".
The only one that was not the result of nearly identical phrases were
"ISPRIMEISPRIMEISPRIM" vs. "SAROSEISAROSEISAROSE". And that only
happened because I'd stripped the numbers out of " 3 is prime. 5 is
prime. 7 is prime."
Exactly what I'd have expected, from everything I've read about
unicity distance in normal english. (Not that the fortune database is
always normal english, but...)
Still, it can be fun to check for yourself, once in a while.
.
- References:
- Prev by Date: Re: has it finished yet?
- Previous by thread: Re: Decrypt CipherValue with different DES2 keys getting a correct padding ?
- Next by thread: While this flood is going on..
- Index(es):
Relevant Pages
|