pub struct Crypt;Expand description
The Unix crypt(3) Base64 alphabet.
This alphabet is provided as an explicit legacy interoperability profile.
base64-ng does not parse or verify complete password-hash records.
§Security
The strict Alphabet::decode implementation delegates to
decode_alphabet_byte. That helper scans the full alphabet, but it is a
const fn and does not use the additional optimizer barriers used by the
ct module. Do not use strict Engine<Crypt, _> decode as a
token, key, or password-hash verifier. Use crate::ct::CtEngine with this
alphabet for secret-bearing comparison workflows.
Trait Implementations§
impl Copy for Crypt
impl Eq for Crypt
impl StructuralPartialEq for Crypt
Auto Trait Implementations§
impl Freeze for Crypt
impl RefUnwindSafe for Crypt
impl Send for Crypt
impl Sync for Crypt
impl Unpin for Crypt
impl UnsafeUnpin for Crypt
impl UnwindSafe for Crypt
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