pub struct AesEncryption;
Implementations§
Source§impl AesEncryption
impl AesEncryption
pub fn to_aes_secret_key(base64_key: &str) -> Vec<u8>
pub fn decrypt_to_string(key: &[u8], encrypted_text: &str) -> String
Auto Trait Implementations§
impl Freeze for AesEncryption
impl RefUnwindSafe for AesEncryption
impl Send for AesEncryption
impl Sync for AesEncryption
impl Unpin for AesEncryption
impl UnwindSafe for AesEncryption
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