Struct openssl::sha::Sha384 [−][src]
pub struct Sha384(_);
An object which calculates a SHA384 hash of some data.
Methods
impl Sha384[src]
impl Sha384pub fn new() -> Sha384[src]
pub fn new() -> Sha384Creates 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; 48][src]
pub fn finish(self) -> [u8; 48]Returns the hash of the data.