diff --git a/src/ss.rs b/src/ss.rs index 262881e..699507b 100644 --- a/src/ss.rs +++ b/src/ss.rs @@ -101,6 +101,7 @@ impl SecretSharing { pub enum Charset { Hex, Alphanumeric, + Base58, } impl Charset { @@ -111,6 +112,9 @@ impl Charset { Charset::Alphanumeric => { "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" } + Charset::Base58 => { + "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" + } } } }