[−][src]Struct noise_rust_crypto::Sha256
Trait Implementations
impl Clone for Sha256
[src]
impl Default for Sha256
[src]
impl Hash for Sha256
[src]
fn name() -> &'static str
[src]
type Block = [u8; 64]
Type of a block.
type Output = Sensitive<[u8; 32]>
Type of output.
fn input(&mut self, data: &[u8])
[src]
fn result(&mut self) -> Self::Output
[src]
fn block_len() -> usize
[src]
fn hash_len() -> usize
[src]
fn reset(&mut self)
[src]
fn hash(data: &[u8]) -> Self::Output
[src]
fn hmac_many(key: &[u8], data: &[&[u8]]) -> Self::Output
[src]
fn hmac(key: &[u8], data: &[u8]) -> Self::Output
[src]
fn hkdf(
chaining_key: &[u8],
input_key_material: &[u8]
) -> (Self::Output, Self::Output)
[src]
chaining_key: &[u8],
input_key_material: &[u8]
) -> (Self::Output, Self::Output)
fn hkdf3(
chaining_key: &[u8],
input_key_material: &[u8]
) -> (Self::Output, Self::Output, Self::Output)
[src]
chaining_key: &[u8],
input_key_material: &[u8]
) -> (Self::Output, Self::Output, Self::Output)
Auto Trait Implementations
impl RefUnwindSafe for Sha256
impl Send for Sha256
impl Sync for Sha256
impl Unpin for Sha256
impl UnwindSafe for Sha256
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,