Skip to content

The how to generate hashes using hashlib module in python.

License

Notifications You must be signed in to change notification settings

stevemats/HashGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation


Cryptographic Hash Generator

512

Installation:

$ git clone https://github.com/stevemats/HashGenerator

Usage:

$ cd HashGenerator
$ python generate_hash.py

demo

Hashes Covered:

  1. MD-5 - An MD5 hash is created by taking a string of an any length and encoding it into a 128-bit fingerprint. Encoding the same string using the MD5 algorithm will always result in the same 128-bit hash output. MD5 hashes are commonly used with smaller strings when storing passwords, credit card numbers or other sensitive data in databases such as the popular MySQL.

  2. SHA-1 - Secure Hash Algorithm 1(SHA-1) is a cryptographic hash function which takes an input and produces a 160-bit (20-byte) hash value. This hash value is known as a message digest. This message digest is usually then rendered as a hexadecimal number which is 40 digits long. It is a U.S. Federal Information Processing Standard and was designed by the United States National Security Agency.

  3. SHA-256 - The SHA-256 algorithm is one flavor of SHA-2 (Secure Hash Algorithm 2), which was created by the National Security Agency in 2001 as a successor to SHA-1. SHA-256 is a patented cryptographic hash function that outputs a value that is 256 bits long. It is one of the most secure hashing functions on the market. The US government requires its agencies to protect certain sensitive information using SHA-256.

  4. SHA-512 - SHA-512, or Secure Hash Algorithm 512, is a hashing algorithm used to convert text of any length into a fixed-size string of 512 bits (64 bytes). Also developed by the NSA.

About

The how to generate hashes using hashlib module in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages