Skip to content

obfusk/2des-attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  • python2
  • pycrypto

Use

attack2des takes an optionel key length as first command line argument; it expects a sequence of (hex) plain text and cipher text pairs on stdin, one per line; it outputs all key1 and key2 pairs it finds (separated by a space) on stdout. For example:

$ cat > set8
0123456789ABCDEF
8dc1e5170cb054e0
1122334455667788
b91d899c5007f514
99aabbccddeeff00
6b71df6c17ae286f
^D

$ ./attack2des < set8 2>/dev/null
0101010107cd37b9 010101010b9d4667
0101010107cd37b9 010101010b9d4667
0101010107cd37b9 010101010b9d4667

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages