Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.43 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.43 KB

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