EasyCrypto 0.8.1

A simple crypto crate aim at usability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub mod MD5;
pub mod Sha;


pub trait HasherTrait
{
	const OUTPUT_SIZE: usize;

	fn AddInput (&mut self, input: &[u8]);
	fn GetOutput (self) -> [u8; Self::OUTPUT_SIZE];
	fn Hash (input: &[u8]) -> [u8; Self::OUTPUT_SIZE];
}