pub struct SimpleSymmetricKeyGenerator;Expand description
A simple symmetric key generator implementation
Trait Implementations§
Source§impl KeyGenerator for SimpleSymmetricKeyGenerator
impl KeyGenerator for SimpleSymmetricKeyGenerator
Source§fn generate_with_params<R: SecureRandom>(
&self,
rng: &mut R,
params: KeyGenParams,
) -> Result<Self::Key>
fn generate_with_params<R: SecureRandom>( &self, rng: &mut R, params: KeyGenParams, ) -> Result<Self::Key>
Generate a new key with specific parameters
Auto Trait Implementations§
impl Freeze for SimpleSymmetricKeyGenerator
impl RefUnwindSafe for SimpleSymmetricKeyGenerator
impl Send for SimpleSymmetricKeyGenerator
impl Sync for SimpleSymmetricKeyGenerator
impl Unpin for SimpleSymmetricKeyGenerator
impl UnwindSafe for SimpleSymmetricKeyGenerator
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