pub struct AesEncoderOptions {
pub password: Password,
pub iv: [u8; 16],
pub salt: [u8; 16],
pub num_cycles_power: u8,
}Available on crate feature
aes256 only.Fields§
§password: Password§iv: [u8; 16]§salt: [u8; 16]§num_cycles_power: u8Implementations§
Source§impl AesEncoderOptions
impl AesEncoderOptions
pub fn new(password: Password) -> Self
pub fn properties(&self) -> [u8; 34]
pub fn write_properties(&self, props: &mut [u8])
Trait Implementations§
Source§impl Clone for AesEncoderOptions
impl Clone for AesEncoderOptions
Source§fn clone(&self) -> AesEncoderOptions
fn clone(&self) -> AesEncoderOptions
Returns a copy 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 Debug for AesEncoderOptions
impl Debug for AesEncoderOptions
Source§impl From<AesEncoderOptions> for MethodOptions
impl From<AesEncoderOptions> for MethodOptions
Source§fn from(value: AesEncoderOptions) -> Self
fn from(value: AesEncoderOptions) -> Self
Converts to this type from the input type.
Source§impl From<AesEncoderOptions> for SevenZMethodConfiguration
impl From<AesEncoderOptions> for SevenZMethodConfiguration
Source§fn from(value: AesEncoderOptions) -> Self
fn from(value: AesEncoderOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AesEncoderOptions
impl RefUnwindSafe for AesEncoderOptions
impl Send for AesEncoderOptions
impl Sync for AesEncoderOptions
impl Unpin for AesEncoderOptions
impl UnwindSafe for AesEncoderOptions
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