public void KeyEncryptionTest() { var randomIrdKey = new byte[16]; var decryptedKey = Decrypter.DecryptDiscKey(randomIrdKey); Assert.That(randomIrdKey.ToHexString(), Is.Not.EqualTo(decryptedKey.ToHexString())); var encryptedKey = Decrypter.EncryptDiscKey(decryptedKey); Assert.That(encryptedKey.ToHexString(), Is.EqualTo(randomIrdKey.ToHexString())); }