Struct scp03::Cryptogram
[−]
[src]
pub struct Cryptogram(_);
Authentication cryptograms used to verify sessions
Methods
impl Cryptogram
[src]
fn from_slice(slice: &[u8]) -> Self
[src]
Create a new cryptogram from a slice
Panics if the slice is not 8-bytes
fn as_slice(&self) -> &[u8]
[src]
Borrow the cryptogram value as a slice
Trait Implementations
impl Eq for Cryptogram
[src]
impl PartialEq for Cryptogram
[src]
fn eq(&self, other: &Cryptogram) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.