Skip to content

Latest commit

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Crypto Hash Lab

A python tool for experimenting with diverse cryptographic hash algorithms.

About Crypto Hash Lab

Crypto-Hash-Lab is a small tool which aims to facilitate the usage of cryptographic hash algorithms. It comes with some optional workfactors which can help you to finetune the cost of your cryptographic hashes. This information can be usefule when running cryptographic applications on your devide & network or if you want to write a cryptographic tool.

The hash count could be a little under the maximum possible on your device ,compared to a C implementation.

Parameters

Basic parameters

--help This Parameter outputs a list of all parameters.
--algo This specifies the algorithm to use.
--list Will list all supported hash algorithms.
--salt Specifies the salt that is used for supported hashes. ( default is random )
--string Sets the input string "key" of the hash. ( default is random )
--base64 Outputs the hash with base64 encoding.
--hex Outputs the hash with hex encoding.

If not encoding is specified the hash will be displaied in raw binary format , except for Argon2 which will be displaied in it's custom base64 format.

Hash parameters

--iterations The number of iterations ( rounds ). Can be used with any hash , but needs to be a multiple of 2 for Scrypt.
--blocksize This factor sets the memory cost. Will only work for Scrypt and Argon2.
--paralleslism Is used to increase the CPU work factor. Can be used only for Scrypt and Argon2.
--size Sets the size in bytes. Will only work with Argon2 , Bcrypt and Scrypt.

Installation

Requires Python 2.7

Pip install -r requirements.txt

License

Code distributed under MIT licence.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages