System.Security.Cryptography.RijndaelManaged.CreateEncryptor C# (CSharp) Method

CreateEncryptor() public method

public CreateEncryptor ( ) : ICryptoTransform
return ICryptoTransform
        public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor();
        public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV) => _impl.CreateEncryptor(rgbKey, rgbIV);

Same methods

RijndaelManaged::CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform

Usage Example

 public AuthenticationHelper()
 {
     var rm = new RijndaelManaged();
     encryptor = rm.CreateEncryptor(key, vector);
     decryptor = rm.CreateDecryptor(key, vector);
     encoder = new UTF8Encoding();
 }
All Usage Examples Of System.Security.Cryptography.RijndaelManaged::CreateEncryptor