public void DecodeMiniLockIdTest() { const string expected = "28579770b321769c2ad24873287152fe5ab928bb54fff460c808e4a9f70a7d69"; var publicKey = KeyGenerator.DecodeMiniLockPublicKey("Cz5bEJLKdSib9kWxkmskExaaLdRg8tVA2qsFBnfdQwkMe"); Assert.AreEqual(expected, Utilities.BinaryToHex(publicKey)); }
public void DecodeMiniLockIdInvalidTest() { KeyGenerator.DecodeMiniLockPublicKey("5bEJLKdSib9kWxkmskExaaLdRg8tVA2qsFBnfdQwkMe"); }