[−][src]Struct arx_kw::AuthTag
The type used as the authentication tag (unencrypted data to be stored alongside encrypted keys)
This is the same for all variants at time of writing (a single, static 128 bits), making
for a 50% storage overhead for a 256-bit key like those used for ChaCha
The ConstantTimeEq
trait is implemented (and re-exported from the subtle
crate by this crate) for constant
time equality checking of AuthTag
s
Trait Implementations
impl AsRef<[u8; 16]> for AuthTag
[src]
impl Clone for AuthTag
[src]
impl ConstantTimeEq for AuthTag
[src]
impl Copy for AuthTag
[src]
impl Debug for AuthTag
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthTag
[src]
impl Send for AuthTag
[src]
impl Sync for AuthTag
[src]
impl Unpin for AuthTag
[src]
impl UnwindSafe for AuthTag
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,