Skip to content

Efficiently decrypt DES hashes produced by crypt(3)

License

Notifications You must be signed in to change notification settings

aannenko/CrackSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build CodeQL Docker

CrackSharp

Efficiently decrypt DES hashes produced by crypt(3).

Decryption is performed by .NET applications and is based on brute-force method. High decryption speed is achieved by heavy usage of stack-allocated Span<T> and ReadOnlySpan<T>, there is no heap allocation during decryption.

Contents

Notable projects:

Usage

Deployment and usage examples are located in the corresponding project directories.

Decryption speed

  1. The longer the word behind a hash, the longer it will take to decrypt this hash.
  2. Same applies to a charset you feed to the app which it then uses to build words: decryption of 50E5eT91y/Q.g with a charset abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 (letters and digits) takes approximately 68% longer than with the same charset but without digits.