Пример #1
0
        public void TestMethods()
        {
            SymmetricKey key  = new SymmetricKey(128);
            HMAC         hmac = New <AxCryptHMACSHA1>().Initialize(key);

            Assert.That(hmac.Key(), Is.EquivalentTo(key.GetBytes()), "Ensure that we're using the specified key.");
        }