using System.Security.Cryptography;
static RandomNumberGenerator rng = RandomNumberGenerator.Create();
public static void Main()
var stmId = new byte[96/8];
var eepromId = new byte[128/8];
var camId = new byte[]{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
Encode(eepromId, "eepromId");
public static void Encode(byte[] data, string name){
Console.WriteLine(SimpleBase.Base85.Ascii85.Encode(data) + " <-- " + name + " as ascii base85");
Console.WriteLine(SimpleBase.Base58.Bitcoin.Encode(data) + " <-- " + name + " as bitcoin base58");
Console.WriteLine(SimpleBase.Base32.Crockford.Encode(data) + " <-- " + name + " as Crockford base32");