GithubHelp home page GithubHelp logo

crypto-hash-lab's Introduction

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.

crypto-hash-lab's People

Contributors

flothesysadmin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.