public void ToByteArray() { var aes = new SymmetricKey(KeyBytes); Assert.Equal(KeyBytes, aes.ToByteArray()); }