pub struct Sha256Hmac { /* private fields */ }Expand description
RustCrypto Sha256Hmac
Implementations§
Source§impl Sha256Hmac
impl Sha256Hmac
pub fn sha256_hmac_init_with_key(key: &[u8; 32]) -> Self
Trait Implementations§
Source§impl Clone for Sha256Hmac
impl Clone for Sha256Hmac
Source§fn clone(&self) -> Sha256Hmac
fn clone(&self) -> Sha256Hmac
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CryptoSha256HmacProcessor for Sha256Hmac
impl CryptoSha256HmacProcessor for Sha256Hmac
Source§fn hmac_sha256_update(&mut self, d: &[u8])
fn hmac_sha256_update(&mut self, d: &[u8])
Update HMAC based on data of content
Source§fn hmac_sha256_fork(&self) -> Self
fn hmac_sha256_fork(&self) -> Self
Fork from the current
Source§fn hmac_sha256_finalize(self) -> [u8; 32]
fn hmac_sha256_finalize(self) -> [u8; 32]
Finalize HMAC
Auto Trait Implementations§
impl Freeze for Sha256Hmac
impl RefUnwindSafe for Sha256Hmac
impl Send for Sha256Hmac
impl Sync for Sha256Hmac
impl Unpin for Sha256Hmac
impl UnwindSafe for Sha256Hmac
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more