Skip to content
/ sha-3 Public

An implementation of the SHA-3 and SHAKE cryptographic hash functions in Rust.

License

Notifications You must be signed in to change notification settings

Mikkel-T/sha-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHA-3

This is a Rust implementation of the SHA-3 and SHAKE cryptographic hash functions as specified in FIPS 202.

The code is in no way optimized for performance, but rather for clarity and simplicity with comments describing most of the steps in the algorithm with references to the specification.

Running the code

An example of the usage of the SHA-3 and SHAKE functions can be found in the "sha3" crate under examples/main.rs, this can be run with the following command:

cargo run --example main

To run the unit tests, use the following command:

cargo test

To benchmark the functions with an empty input, use the following command:

cargo bench

About

An implementation of the SHA-3 and SHAKE cryptographic hash functions in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages