usingSystem.Text;usingSystem.Security.Cryptography;classExampleClass{publicvoidExampleMethod(char[] chars,byte[] someOtherBytesForIV){byte[] key = Encoding.ASCII.GetBytes(chars); SymmetricAlgorithm rijn = SymmetricAlgorithm.Create(); rijn.CreateEncryptor(key, someOtherBytesForIV); } }
usingSystem.Text;usingSystem.Security.Cryptography;classExampleClass{publicvoidExampleMethod(char[] chars,byte[] someOtherBytesForIV){byte[] key = Encoding.ASCII.GetBytes(chars); SymmetricAlgorithm rijn = SymmetricAlgorithm.Create(); rijn.CreateEncryptor(key, someOtherBytesForIV); } }...