/Base58

base58 encode and decode

Primary LanguageC#MIT LicenseMIT

Base58

without Base58Check

Base58 Encode

var str = Encoding.UTF8.GetBytes("Hello");

var base58String = Base58.Encode(str);

Console.Write(base58String);
//result: "9Ajdvzr"

Base58 Decode

var bytes = Base58.Encode("9Ajdvzr");

var str = Encoding.UTF8.GetString(bytes);

Console.Write(str);
//result: "Hello"