Changeset 2334 for trunk/CrypPlugins/DES


Ignore:
Timestamp:
Jan 14, 2011, 12:03:33 AM (11 years ago)
Author:
Matthäus Wander
Message:

removed 1006 occurences of DisplayLevel in 218 files (see #122)

Location:
trunk/CrypPlugins/DES
Files:
2 edited

Legend:

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

    r2061 r2334  
    5050        #region External connection properties
    5151
    52         [PropertyInfo(Direction.ControlSlave, "DES Slave for Cryptanalysis", "Direct access to the DES component for cryptanalysis.", "", DisplayLevel.Beginner)]
     52        [PropertyInfo(Direction.ControlSlave, "DES Slave for Cryptanalysis", "Direct access to the DES component for cryptanalysis.", "")]
    5353        public IControlEncryption ControlSlave
    5454        {
     
    6262
    6363        private IControlCubeAttack desSlave;
    64         [PropertyInfo(Direction.ControlSlave, "DES Slave for cube attack", "Direct access to the DES component for usage with the cube attack plugin.", "", DisplayLevel.Beginner)]
     64        [PropertyInfo(Direction.ControlSlave, "DES Slave for cube attack", "Direct access to the DES component for usage with the cube attack plugin.", "")]
    6565        public IControlCubeAttack DESSlave
    6666        {
     
    7474
    7575
    76         [PropertyInfo(Direction.InputData, "Input", "Data to be encrypted or decrypted", null, true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     76        [PropertyInfo(Direction.InputData, "Input", "Data to be encrypted or decrypted", null, true, false, QuickWatchFormat.Hex, null)]
    7777        public CryptoolStream InputStream
    7878        {
     
    9696        }
    9797
    98         [PropertyInfo(Direction.InputData, "Key", "The key for encryption7decryption. It must be exactly 8 bytes (64 Bits).", null, true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     98        [PropertyInfo(Direction.InputData, "Key", "The key for encryption7decryption. It must be exactly 8 bytes (64 Bits).", null, true, false, QuickWatchFormat.Hex, null)]
    9999        public byte[] InputKey
    100100        {
     
    107107        }
    108108
    109         [PropertyInfo(Direction.InputData, "IV", "IV to be used in chaining modes, must be the same as the Blocksize in bytes (8 bytes).", null, false, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     109        [PropertyInfo(Direction.InputData, "IV", "IV to be used in chaining modes, must be the same as the Blocksize in bytes (8 bytes).", null, false, false, QuickWatchFormat.Hex, null)]
    110110        public byte[] InputIV
    111111        {
     
    118118        }
    119119       
    120         [PropertyInfo(Direction.OutputData, "Output stream", "Encrypted or decrypted output data", null, true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     120        [PropertyInfo(Direction.OutputData, "Output stream", "Encrypted or decrypted output data", null, true, false, QuickWatchFormat.Hex, null)]
    121121        public CryptoolStream OutputStream
    122122        {
  • trunk/CrypPlugins/DES/DESSettings.cs

    r1157 r2334  
    1717        private int padding = 0; //0="Zeros"=default, 1="None", 2="PKCS7", 3="ANSIX923", 4="ISO10126"
    1818       
    19         [ContextMenu("Action","Do you want the input data to be encrypted or decrypted?",1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] { 1, 2}, "Encrypt","Decrypt")]
    20         [TaskPane("Action", "Do you want the input data to be encrypted or decrypted?", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] { "Encrypt", "Decrypt" })]
     19        [ContextMenu("Action","Do you want the input data to be encrypted or decrypted?",1, ContextMenuControlType.ComboBox, new int[] { 1, 2}, "Encrypt","Decrypt")]
     20        [TaskPane("Action", "Do you want the input data to be encrypted or decrypted?", null, 1, false, ControlType.ComboBox, new string[] { "Encrypt", "Decrypt" })]
    2121        public int Action
    2222        {
     
    3030        }
    3131
    32         [ContextMenu("Chaining mode","Select the block cipher mode of operation.",2,DisplayLevel.Beginner,ContextMenuControlType.ComboBox,null, new String[] {"Electronic Code Book (ECB)","Cipher Block Chaining (CBC)","Cipher Feedback (CFB)"})]
    33         [TaskPane("Chaining Mode", "Select the block cipher mode of operation.", null, 2, false, DisplayLevel.Experienced, ControlType.ComboBox, new String[] { "Electronic Bode Book (ECB)","Cipher Block Chaining (CBC)","Cipher Feedback (CFB)" })]
     32        [ContextMenu("Chaining mode","Select the block cipher mode of operation.",2,ContextMenuControlType.ComboBox,null, new String[] {"Electronic Code Book (ECB)","Cipher Block Chaining (CBC)","Cipher Feedback (CFB)"})]
     33        [TaskPane("Chaining Mode", "Select the block cipher mode of operation.", null, 2, false, ControlType.ComboBox, new String[] { "Electronic Bode Book (ECB)","Cipher Block Chaining (CBC)","Cipher Feedback (CFB)" })]
    3434        public int Mode
    3535        {
     
    4343        }
    4444
    45         [ContextMenu("Padding mode","Select a mode to fill partial data blocks.",3,DisplayLevel.Beginner, ContextMenuControlType.ComboBox,null,"Zeros","None","PKCS7","ANSIX923","ISO10126")]
    46         [TaskPane("Padding Mode", "Select a mode to fill partial data blocks.", "", 3, false, DisplayLevel.Experienced, ControlType.ComboBox, new String[] { "Zeros", "None", "PKCS7", "ANSIX923","ISO10126" })]
     45        [ContextMenu("Padding mode","Select a mode to fill partial data blocks.",3, ContextMenuControlType.ComboBox,null,"Zeros","None","PKCS7","ANSIX923","ISO10126")]
     46        [TaskPane("Padding Mode", "Select a mode to fill partial data blocks.", "", 3, false, ControlType.ComboBox, new String[] { "Zeros", "None", "PKCS7", "ANSIX923","ISO10126" })]
    4747        public int Padding
    4848        {
Note: See TracChangeset for help on using the changeset viewer.