示例#1
0
        public void Sign()
        {
            TestVerifiable verifiable = new TestVerifiable();

            byte[] res = verifiable.Sign(new KeyPair(TestUtils.GetByteArray(32, 0x42)));
            res.Length.Should().Be(64);
        }
示例#2
0
        public void Sign()
        {
            TestVerifiable verifiable = new TestVerifiable();

            byte[] res = verifiable.Sign(new KeyPair(TestUtils.GetByteArray(32, 0x42)), ProtocolSettings.Default.Magic);
            res.Length.Should().Be(64);
        }