Struct ades::DES_CIPHER
source · pub struct DES_CIPHER { /* private fields */ }
Methods from Deref<Target = Cipher>§
sourcepub fn nid(&self) -> Nid
pub fn nid(&self) -> Nid
Returns the cipher’s Nid.
This corresponds to EVP_CIPHER_nid
pub fn as_ptr(&self) -> *const EVP_CIPHER
sourcepub fn iv_len(&self) -> Option<usize>
pub fn iv_len(&self) -> Option<usize>
Returns the length of the IV used with this cipher, or None
if the
cipher does not use an IV.
sourcepub fn block_size(&self) -> usize
pub fn block_size(&self) -> usize
Trait Implementations§
source§impl Deref for DES_CIPHER
impl Deref for DES_CIPHER
impl LazyStatic for DES_CIPHER
Auto Trait Implementations§
impl RefUnwindSafe for DES_CIPHER
impl Send for DES_CIPHER
impl Sync for DES_CIPHER
impl Unpin for DES_CIPHER
impl UnwindSafe for DES_CIPHER
Blanket Implementations§
source§impl<T> AnyExt for T
impl<T> AnyExt for T
source§impl<T, R> AnyExt1<R> for T
impl<T, R> AnyExt1<R> for T
source§fn let_mut<'a>(&'a mut self, f: impl FnOnce(&'a mut Self) -> R) -> R
fn let_mut<'a>(&'a mut self, f: impl FnOnce(&'a mut Self) -> R) -> R
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
source§impl<T, R> StdAnyExt1<R> for T
impl<T, R> StdAnyExt1<R> for T
source§fn measure_time(self, f: impl FnOnce(Self) -> R) -> Duration
fn measure_time(self, f: impl FnOnce(Self) -> R) -> Duration
Executes the given closure block and returns the duration of elapsed time interval.
source§fn measure_time_with_value(self, f: impl FnOnce(Self) -> R) -> (R, Duration)
fn measure_time_with_value(self, f: impl FnOnce(Self) -> R) -> (R, Duration)
Executes the given closure block,
returns the result of the closure execution and the duration of elapsed time interval.