Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: void _des_crypt_decrypt?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm working on support for an extra algorithm. The algorithm consists of a few well knows hashing and encryption algorithms. I've successfully implemented most steps, recycling code of a bunch already available OpenCL kernels. However, I'm missing one step: DES decryption.

Perhaps the code is available and was removed by the developers of the DES-based algorithms (1500, 3000 etc.) since it's not used in the specific hash formats. If this is the case, can you please let me know?

Thanks a lot!
For pure DES encryption or decryption you might want to check out the old DES oracle algorithm in -m 3100
(07-05-2016, 08:15 AM)atom Wrote: [ -> ]For pure DES encryption or decryption you might want to check out the old DES oracle algorithm in -m 3100

The old Oracle hashing algorithm only usese DES encrypt, not decrypt...  Sad
In DES, for decrypt, you just access the sboxes in reverse. See https://www.scs.stanford.edu/histar/src/p...rypt/des.c how it handles de_keysl[] and en_keysl[]
(07-05-2016, 08:56 AM)atom Wrote: [ -> ]In DES, for decrypt, you just access the sboxes in reverse. See https://www.scs.stanford.edu/histar/src/p...rypt/des.c how it handles de_keysl[] and en_keysl[]

Winner winner chicken diner! Smile

I was not aware of the reverse S boxes part. I've implemented '_des_decrypt_keysetup' with reverse filling of the Kc and Kd arrays and works like a charm.

Thanks for your reply!

John