Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions mcf/src/base64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ use alloc::{string::String, vec::Vec};
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
#[non_exhaustive]
pub enum Base64 {
/// bcrypt encoding. Also used by the following schemes:
/// - scrypt
/// - yescrypt
/// bcrypt encoding.
///
/// ```text
/// ./ [0-9] [A-Z] [a-z]
/// 0x2e-0x2f, 0x30-0x39, 0x41-0x5a, 0x61-0x7a
/// ./ [A-Z] [a-z] [0-9]
/// 0x2e-0x2f, 0x41-0x5a, 0x61-0x7a, 0x30-0x39
/// ```
Bcrypt,

Expand All @@ -27,7 +25,7 @@ pub enum Base64 {
/// ```
Crypt,

/// `crypt(3)` Base64 encoding. Used by the following schemes:
/// `crypt(3)` Base64 encoding for the following schemes:
/// - sha1_crypt,
/// - sha256_crypt,
/// - sha512_crypt,
Expand Down