Skip to content

Commit

Permalink
Register ported base36 MultiBase encoder/decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Jan 24, 2024
1 parent 28294a6 commit eb73ded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Registry/MultiBaseAlgorithm .cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static MultiBaseAlgorithm()
Register("base32hexpad", 't',
bytes => SimpleBase.Base32.ExtendedHex.Encode(bytes, true).ToLowerInvariant(),
s => SimpleBase.Base32.ExtendedHex.Decode(s));
Register("base36", 'k', Base36.EncodeToStringLc, Base36.DecodeString);
Register("BASE16", 'F',
bytes => SimpleBase.Base16.EncodeUpper(bytes),
s => SimpleBase.Base16.Decode(s));
Expand Down

0 comments on commit eb73ded

Please sign in to comment.