Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions src/base62.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
use base62;
use sha2::Digest;

pub type Base62 = String;

/// Given a number, convert it to a string in the 62 symbol Base62 alphabet.
pub fn to_base62(n: u64) -> String {
// use the encoder from the base62 crate
Expand Down
2 changes: 2 additions & 0 deletions src/english16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

use crate::greater_than;

pub type English16 = String;

/// Given a number, convert it to a string in the English16 base 16 symbol
/// alphabet.
///
Expand Down
2 changes: 2 additions & 0 deletions src/latin25.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
use crate::greater_than;
use sha2::Digest;

pub type Latin25 = String;

/// Given a number, convert it to a string in the Latin25 base 25 symbol
/// alphabet.
///
Expand Down