Skip to content
/ ripemd128 Public

A pure rust implementation of the RIPEMD-128 cryptographic hash.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

mtio/ripemd128

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ripemd128

A pure rust implementation of the RIPEMD-128 cryptographic hash based on RustCrypto/hashes ripemd160.

Usage

use ripemd128::{Ripemd128, Digest};

// create a RIPEMD-128 hasher instance
let mut hasher = Ripemd128::new();

// process input message
hasher.input(b"abc");

// acquire hash digest in the form of GenericArray,
// which in this case is equivalent to [u8; 16]
let result = hasher.result();
// assert_eq!(result[..], hex!("c14a12199c66e4ba84636b0f69144c77"));

Also see RustCrypto/hashes readme.

About

A pure rust implementation of the RIPEMD-128 cryptographic hash.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages