Struct openssl::sha::Sha224 [−][src]
pub struct Sha224(_);
An object which calculates a SHA224 hash of some data.
Methods
impl Sha224
[src]
impl Sha224
pub fn new() -> Sha224
[src]
pub fn new() -> Sha224
Creates a new hasher.
pub fn update(&mut self, buf: &[u8])
[src]
pub fn update(&mut self, buf: &[u8])
Feeds some data into the hasher.
This can be called multiple times.
pub fn finish(self) -> [u8; 28]
[src]
pub fn finish(self) -> [u8; 28]
Returns the hash of the data.