How the fuck does tripcode explorer generate a random string then unix crypt it at over 1M per second?
I'm trying to do something similar but with (salted) md5 hashes, and it can only get to 18-20K per second.
I'm using a ~700ish MHz PPC processor with limited resources, by the way.
unix crypt
By not using unix crypt() for starters.
Name:
!3GqYIJ3Obs2010-07-21 4:06
Guess my secret tripcode
Name:
Anonymous2010-07-21 4:32
>>1
It sounds like you're doing something horribly wrong. I can get about 1.2M MD5 hashes per second on my 2.0 GHz PPC from 2005. Advice: Use C. Don't call malloc. The only functions in your loop should be initializing your guess, then md5 init/append/finish, then memcmp.
Name:
Anonymous2010-07-21 5:08
Whats the fastest custom code which does not default SSL/Crypt DES?
Name:
Anonymous2010-07-21 5:08
>>9
As a footnote, I got almost a 2x speedup from switching to GCC 4.2 from GCC 4.0 on PPC.
If your CPU supports Altivec, use optimized algorithms for a big speedup.
Name:
Anonymous2010-07-21 19:57
For the record, the fastest crypt implementation available in the wild is still John the Ripper's, though it's a bitch to integrate that into your own code. Most people (including Xarn) just use OpenSSL's DES_crypt, which is probably the fastest non-bitslicing implementation.