예제 #1
0
        public void DecodeMiniLockIdTest()
        {
            const string expected  = "28579770b321769c2ad24873287152fe5ab928bb54fff460c808e4a9f70a7d69";
            var          publicKey = KeyGenerator.DecodeMiniLockPublicKey("Cz5bEJLKdSib9kWxkmskExaaLdRg8tVA2qsFBnfdQwkMe");

            Assert.AreEqual(expected, Utilities.BinaryToHex(publicKey));
        }
예제 #2
0
 public void DecodeMiniLockIdInvalidTest()
 {
     KeyGenerator.DecodeMiniLockPublicKey("5bEJLKdSib9kWxkmskExaaLdRg8tVA2qsFBnfdQwkMe");
 }