Beispiel #1
0
        public void DeriveEntropyHdSeedWif_ExceptionTest()
        {
            var bip85 = new BIP0085(Xprv);

            bip85.Dispose();
            Assert.Throws <ObjectDisposedException>(() => bip85.DeriveEntropyHdSeedWif(1));
        }
Beispiel #2
0
        public void DeriveEntropyHdSeedWifTest(string xprv, uint index, byte[] expected)
        {
            using BIP0085 bip85 = new BIP0085(xprv);
            byte[] actual = bip85.DeriveEntropyHdSeedWif(index);

            Assert.Equal(expected, actual);
        }