Cryptographic Hash Functions in Rust
This is a Rust implementation of various cryptographic hash functions. The following algorithms are currently supported:
-
SHA-1
-
SHA-2-224
-
SHA-2-256
-
SHA-2-384
-
SHA-2-512
-
SHA-3-224
-
SHA-3-256
-
SHA-3-384
-
SHA-3-512
Example
Here's an example of how to use the sha256 hash function:
use hash;
License
This project is dual-licensed under the Apache License 2.0 and the MIT License. You may choose either license to use this software.