hashcat Forum
Plaintext within DES ECB mode 14000 - 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: Plaintext within DES ECB mode 14000 (/thread-6082.html)



Plaintext within DES ECB mode 14000 - Tryst - 12-01-2016

I'm completely new to using Hashcat and I'm getting a "line-length exception" every time I try to enter plaintext within the new mode 14000.

jsteube's example on GitHub works fine for me:

Code:
hashcat64.exe -m 14000 cd674507b21e5ebe:1435662222276461 -a 3 hashcat1

The problem arises when I want to use plain text. If I convert the word "hello" using DES ECB with the same key of "hashcat1", I get the following: 88f756ee5f6836d3. However this doesn't work if I give the plaintext "hello" within the above command:

Code:
hashcat64.exe -m 14000 88f756ee5f6836d3:hello -a 3 hashcat1

Quote:Hash '88f756ee5f6836d3:hello': Line-length exception

What am I doing wrong? Does 14000 not support plaintext like this?


RE: Plaintext within DES ECB mode 14000 - atom - 12-01-2016

This has nothing to do with hashcat. DES is a block cipher using a block size of 8 bytes. Therefore both the PT and the CT need to be exactly 8 bytes, too.


RE: Plaintext within DES ECB mode 14000 - Tryst - 12-01-2016

Ah, I understand now. Thank you for your quick response!