pub struct Base64Pbkdf2;Expand description
PBKDF2 Base64: variant of unpadded standard Base64 with . instead of +.
[A-Z] [a-z] [0-9] . /
0x41-0x5a, 0x61-0x7a, 0x30-0x39, 0x2e, 0x2fTrait Implementations§
Source§impl Clone for Base64Pbkdf2
impl Clone for Base64Pbkdf2
Source§fn clone(&self) -> Base64Pbkdf2
fn clone(&self) -> Base64Pbkdf2
Returns a duplicate 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 Base64Pbkdf2
impl Debug for Base64Pbkdf2
Source§impl Default for Base64Pbkdf2
impl Default for Base64Pbkdf2
Source§fn default() -> Base64Pbkdf2
fn default() -> Base64Pbkdf2
Returns the “default value” for a type. Read more
Source§impl Hash for Base64Pbkdf2
impl Hash for Base64Pbkdf2
Source§impl Ord for Base64Pbkdf2
impl Ord for Base64Pbkdf2
Source§fn cmp(&self, other: &Base64Pbkdf2) -> Ordering
fn cmp(&self, other: &Base64Pbkdf2) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Base64Pbkdf2
impl PartialEq for Base64Pbkdf2
Source§impl PartialOrd for Base64Pbkdf2
impl PartialOrd for Base64Pbkdf2
impl Copy for Base64Pbkdf2
impl Eq for Base64Pbkdf2
impl StructuralPartialEq for Base64Pbkdf2
Auto Trait Implementations§
impl Freeze for Base64Pbkdf2
impl RefUnwindSafe for Base64Pbkdf2
impl Send for Base64Pbkdf2
impl Sync for Base64Pbkdf2
impl Unpin for Base64Pbkdf2
impl UnwindSafe for Base64Pbkdf2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Encoding for Twhere
T: Alphabet,
impl<T> Encoding for Twhere
T: Alphabet,
Source§fn decode(src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], Error>
fn decode(src: impl AsRef<[u8]>, dst: &mut [u8]) -> Result<&[u8], Error>
Decode a Base64 string into the provided destination buffer.
Source§fn decode_in_place(buf: &mut [u8]) -> Result<&[u8], InvalidEncodingError>
fn decode_in_place(buf: &mut [u8]) -> Result<&[u8], InvalidEncodingError>
Decode a Base64 string in-place. Read more
Source§fn decode_vec(input: &str) -> Result<Vec<u8>, Error>
fn decode_vec(input: &str) -> Result<Vec<u8>, Error>
Available on crate feature
alloc only.Decode a Base64 string into a byte vector.
Source§fn encode<'a>(
src: &[u8],
dst: &'a mut [u8],
) -> Result<&'a str, InvalidLengthError>
fn encode<'a>( src: &[u8], dst: &'a mut [u8], ) -> Result<&'a str, InvalidLengthError>
Encode the input byte slice as Base64. Read more
Source§fn encode_string(input: &[u8]) -> String
fn encode_string(input: &[u8]) -> String
Available on crate feature
alloc only.