Skip to content

A library of hashing algorithms commonly used in blockchain applications.

License

Notifications You must be signed in to change notification settings

herrsmitty8128/bc_hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Hashing ("bc_hash")

bc_hash is a Rust library of cryptographic hashing algorithms commonly used in blockchain applications. It is designed to be as flexible and easy to use as possible. Key features include:

  • Methods for calculating a new hash from a String, Vector, File, or Path.
  • Robust error handling
  • Implementations for many of Rust's commonly used traits such as From/TryFrom, Display, PartialEq/Eq, Default, etc.
  • Native methods to serialize and deserialize a SHA-256 digest to and from a slice of bytes.

At the moment, only the SHA-256 has been implemented. However, more algorithms are planning for implementation in the future.

License

bc_hash is licensed under the MIT License.

Dependancies

None :-)

Resources

The following are suggested resources for anyone interested in learning more about the SHA-256 algorithm:

The following are suggested resources for anyone interested in learning more about Merkle Trees and proofs:

Documentation

Click here to view the documentation on GitHub Pages