BaseCipherSuitePlugin.BulkCipherAlgorithm3DES.CreateDecryptor C# (CSharp) Method

CreateDecryptor() public method

public CreateDecryptor ( byte rgbKey, byte rgbIV, byte additional ) : ICryptoTransform
rgbKey byte
rgbIV byte
additional byte
return ICryptoTransform
        public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV, byte[] additional)
        {
            if (rgbKey == null)
                throw new ArgumentNullException("rgbKey");

            return _csp.CreateDecryptor(rgbKey, rgbIV);
        }

Usage Example

 public void DecryptionKeyNull()
 {
     cipher.CreateDecryptor(null, null);
 }