Posts: 4
Threads: 1
Joined: Nov 2016
11-08-2016, 05:46 PM
(This post was last modified: 11-08-2016, 05:59 PM by Look.)
Hello, to all. I want ask you it is posible to find key for triple des (3Des) or TDEA algorithm.
Coding is "NIST 800-67", 3 keys, Key1 <>Key2 and Key1=Key3.
Data in 8 byte, data out 8 byte; have 3 samples
Thanks;
Posts: 5,185
Threads: 230
Joined: Apr 2010
11-09-2016, 11:38 PM
(This post was last modified: 11-10-2016, 05:38 PM by atom.)
It's still 112 bit then, I don't think so.
Posts: 4
Threads: 1
Joined: Nov 2016
11-10-2016, 12:05 PM
(This post was last modified: 11-10-2016, 05:38 PM by atom.)
(11-09-2016, 11:38 PM)atom Wrote: It's still 112 bit then, I don't think so.
Yes is (key1+key2) (16 bytes * 8 bit) - 16 bit (lowest bytes) =
112 bits.
But
1. EncryptDes(data,key1,0)
2. DecryptDes(data,key2,0)
3. EncryptDes(data,key1,
vector of encrypt) (it is not simple EncryptDes, it have leave vector of First Encrypt)
Posts: 5,185
Threads: 230
Joined: Apr 2010
I know, but even 80 bit would be too much
Posts: 4
Threads: 1
Joined: Nov 2016
(11-10-2016, 05:39 PM)atom Wrote: I know, but even 80 bit would be too much
I make simple program to calculate key's, but calculations are very slow to check all keys need about 12000 years, maybe its is possible to make fastest algorithm on gpu, witch calculations take up to 1 year?
Posts: 5,185
Threads: 230
Joined: Apr 2010
You can expect ~10GH/s on a 1080.
Posts: 4
Threads: 1
Joined: Nov 2016
(11-10-2016, 10:36 PM)atom Wrote: You can expect ~10GH/s on a 1080.
Try to compile the git hub version, on debian. compiling for linux - ok, compiling for win32 win64 - have problems in src/ potfile.c "sort_r" implicit declaration of function 'qsort_s'
Posts: 5,185
Threads: 230
Joined: Apr 2010
You can use Msys2 to compile on windows. Works very good, I use it myself.
Posts: 4
Threads: 1
Joined: Feb 2017
what would the command be, and how would the plain-encrypted pairs be on file?