Changeset 2334 for trunk/CrypPlugins/TEA


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/TEA
Files:
2 edited

Legend:

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

    r1042 r2334  
    5959        }
    6060
    61         [PropertyInfo(Direction.InputData, "Input", "Data to be encrypted or decrypted.", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     61        [PropertyInfo(Direction.InputData, "Input", "Data to be encrypted or decrypted.", "", true, false, QuickWatchFormat.Hex, null)]
    6262        public CryptoolStream InputStream
    6363        {
     
    8181        }
    8282
    83         [PropertyInfo(Direction.InputData, "Key", "Must be 16 bytes (128 bit).", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     83        [PropertyInfo(Direction.InputData, "Key", "Must be 16 bytes (128 bit).", "", true, false, QuickWatchFormat.Hex, null)]
    8484        public byte[] InputKey
    8585        {
     
    9292        }
    9393
    94         [PropertyInfo(Direction.OutputData, "Output stream", "Encrypted or decrypted output data", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     94        [PropertyInfo(Direction.OutputData, "Output stream", "Encrypted or decrypted output data", "", true, false, QuickWatchFormat.Hex, null)]
    9595        public CryptoolStream OutputStream
    9696        {
  • trunk/CrypPlugins/TEA/TEASettings.cs

    r1042 r2334  
    4242        private int rounds = 64;
    4343
    44         [ContextMenu("Action","Do you want the input data to be encrypted or decrypted?",1, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, new int[] { 1, 2}, "Encrypt","Decrypt")]
    45         [TaskPane("Action", "Do you want the input data to be encrypted or decrypted?", null, 1, false, DisplayLevel.Beginner, ControlType.ComboBox, new string[] { "Encrypt", "Decrypt" })]
     44        [ContextMenu("Action","Do you want the input data to be encrypted or decrypted?",1, ContextMenuControlType.ComboBox, new int[] { 1, 2}, "Encrypt","Decrypt")]
     45        [TaskPane("Action", "Do you want the input data to be encrypted or decrypted?", null, 1, false, ControlType.ComboBox, new string[] { "Encrypt", "Decrypt" })]
    4646        public int Action
    4747        {
     
    5050        }
    5151
    52         [ContextMenu("Padding mode", "Select a mode to fill partial data blocks.", 3, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, null, "Zeros", "None", "PKCS7")]
    53         [TaskPane("Padding Mode", "Select a mode to fill partial data blocks.", "", 3, false, DisplayLevel.Experienced, ControlType.ComboBox, new String[] { "Zeros", "None", "PKCS7" })]
     52        [ContextMenu("Padding mode", "Select a mode to fill partial data blocks.", 3, ContextMenuControlType.ComboBox, null, "Zeros", "None", "PKCS7")]
     53        [TaskPane("Padding Mode", "Select a mode to fill partial data blocks.", "", 3, false, ControlType.ComboBox, new String[] { "Zeros", "None", "PKCS7" })]
    5454        public int Padding
    5555        {
     
    6363        }
    6464
    65         [ContextMenu("TEA version", "Select the version of TEA you want to use.", 4, DisplayLevel.Beginner, ContextMenuControlType.ComboBox, null, "TEA", "XTEA", "XXTEA")]
    66         [TaskPane("TEA version", "Select the version of TEA you want to use.", "", 4, false, DisplayLevel.Experienced, ControlType.ComboBox, new String[] { "TEA (1994)", "XTEA (1997)", "XXTEA (1998)" })]
     65        [ContextMenu("TEA version", "Select the version of TEA you want to use.", 4, ContextMenuControlType.ComboBox, null, "TEA", "XTEA", "XXTEA")]
     66        [TaskPane("TEA version", "Select the version of TEA you want to use.", "", 4, false, ControlType.ComboBox, new String[] { "TEA (1994)", "XTEA (1997)", "XXTEA (1998)" })]
    6767        public int Version
    6868        {
     
    7676        }
    7777
    78         [TaskPane("Number of rounds", "This applies only to XTEA. Default are 64 rounds.", "Rounds", 5, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     78        [TaskPane("Number of rounds", "This applies only to XTEA. Default are 64 rounds.", "Rounds", 5, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    7979        public int Rounds
    8080        {
Note: See TracChangeset for help on using the changeset viewer.