hashcat Forum
how does DES hash work? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: how does DES hash work? (/thread-10164.html)



how does DES hash work? - hokus - 06-15-2021

I know DES as an encryption method: plaintext + key -> ciphertext.

But in hashcat DES is used as a hashfunction and the password "hashcat1" results in hash a28bc61d44bb815c:1172075784504605

So, I can't find anything about a DES hash function which results in a hash with the above form (xxx..:xxx..). Where can I find information on what is used here?


RE: how does DES hash work? - atom - 06-15-2021

Is just that the 56 bit keyspace of DES is feasible to brute force with a few GPU in a short time, so you can brute force they key with a given pair of CryptText and PlainText.

Quote:root@ht:~# echo 1172075784504605 | xxd -r -p | openssl enc -des-ecb -nopad -K $(echo -n hashcat1 | xxd -p) | xxd
00000000: a28b c61d 44bb 815c                     



RE: how does DES hash work? - hokus - 06-15-2021

Aaaahh, the "hash" is ciphertext:plaintext! Thanks, that was what I missed!