Changeset 1093 for trunk/CrypPlugins/DES


Ignore:
Timestamp:
Jan 19, 2010, 4:39:39 PM (12 years ago)
Author:
Matthäus Wander
Message:

DES IControl:

  • mode and padding are temporarily fixed to ECB+PKCS7 while method signature does not allow passing these parameters
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/DES/DES.cs

    r1092 r1093  
    577577            SymmetricAlgorithm des_algorithm  = new DESCryptoServiceProvider();
    578578
     579            // TODO: this should be configurable via method signature
     580            des_algorithm.Mode = CipherMode.ECB;
     581            des_algorithm.Padding = PaddingMode.PKCS7;
     582
    579583            try
    580584            {
Note: See TracChangeset for help on using the changeset viewer.