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

Legend:

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

    r1042 r2334  
    7070        }
    7171
    72         [PropertyInfo(Direction.InputData, "Input", "Data to be encrypted or decrypted.", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     72        [PropertyInfo(Direction.InputData, "Input", "Data to be encrypted or decrypted.", "", true, false, QuickWatchFormat.Hex, null)]
    7373        public string InputString
    7474        {
     
    8181        }
    8282
    83         [PropertyInfo(Direction.InputData, "Key", "Must be 10 bytes (80 bit) in Hex.", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     83        [PropertyInfo(Direction.InputData, "Key", "Must be 10 bytes (80 bit) in Hex.", "", true, false, QuickWatchFormat.Hex, null)]
    8484        public string InputKey
    8585        {
     
    9292        }
    9393
    94         [PropertyInfo(Direction.InputData, "IV", "Must be 10 bytes (80 bit) in Hex.", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     94        [PropertyInfo(Direction.InputData, "IV", "Must be 10 bytes (80 bit) in Hex.", "", true, false, QuickWatchFormat.Hex, null)]
    9595        public string InputIV
    9696        {
     
    103103        }
    104104
    105         [PropertyInfo(Direction.OutputData, "Output stream", "Encrypted or decrypted output data", "", true, false, DisplayLevel.Beginner, QuickWatchFormat.Hex, null)]
     105        [PropertyInfo(Direction.OutputData, "Output stream", "Encrypted or decrypted output data", "", true, false, QuickWatchFormat.Hex, null)]
    106106        public string OutputString
    107107        {
     
    652652
    653653        private IControlCubeAttack triviumSlave;
    654         [PropertyInfo(Direction.ControlSlave, "Trivium Slave", "Direct access to Trivium.", "", DisplayLevel.Beginner)]
     654        [PropertyInfo(Direction.ControlSlave, "Trivium Slave", "Direct access to Trivium.", "")]
    655655        public IControlCubeAttack TriviumSlave
    656656        {
  • trunk/CrypPlugins/Trivium/TriviumSettings.cs

    r1042 r2334  
    3939
    4040        private int keystreamLength = 32;
    41         [TaskPane("Length of keystream", "How many bits of keystream in bits should be generated? Must be a multiple of 32.", null, 0, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     41        [TaskPane("Length of keystream", "How many bits of keystream in bits should be generated? Must be a multiple of 32.", null, 0, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    4242        public int KeystreamLength
    4343        {
     
    5252
    5353        private int initRounds = 1152;
    54         [TaskPane("Initialization rounds", "How many init rounds should be done? Default is 1152.", null, 1, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     54        [TaskPane("Initialization rounds", "How many init rounds should be done? Default is 1152.", null, 1, false, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    5555        public int InitRounds
    5656        {
     
    6565
    6666        private bool useByteSwapping = false;
    67         [ContextMenu("Use byte swapping", "With this checkbox enabled, output bytes will be swapped.", 1, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Use byte swapping?" })]
    68         [TaskPane("Use byte swapping", "With this checkbox enabled, output bytes will be swapped.", null, 2, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     67        [ContextMenu("Use byte swapping", "With this checkbox enabled, output bytes will be swapped.", 1, ContextMenuControlType.CheckBox, null, new string[] { "Use byte swapping?" })]
     68        [TaskPane("Use byte swapping", "With this checkbox enabled, output bytes will be swapped.", null, 2, false, ControlType.CheckBox, "", null)]
    6969        public bool UseByteSwapping
    7070        {
     
    7979
    8080        private bool hexOutput = false;
    81         [ContextMenu("Generate Hex output", "With this checkbox enabled, output bytes will be displayed in hex.", 2, DisplayLevel.Experienced, ContextMenuControlType.CheckBox, null, new string[] { "Display as hex?" })]
    82         [TaskPane("Generate Hex output", "With this checkbox enabled, output bytes will be displayed in hex.", null, 3, false, DisplayLevel.Beginner, ControlType.CheckBox, "", null)]
     81        [ContextMenu("Generate Hex output", "With this checkbox enabled, output bytes will be displayed in hex.", 2, ContextMenuControlType.CheckBox, null, new string[] { "Display as hex?" })]
     82        [TaskPane("Generate Hex output", "With this checkbox enabled, output bytes will be displayed in hex.", null, 3, false, ControlType.CheckBox, "", null)]
    8383        public bool HexOutput
    8484        {
     
    9393
    9494        private string inputKey = string.Empty;
    95         [TaskPane("Key (Input for Cube Attack)", "Must be 10 bytes (80 bit) in Hex", null, 4, false, DisplayLevel.Beginner, ControlType.TextBox, null)]
     95        [TaskPane("Key (Input for Cube Attack)", "Must be 10 bytes (80 bit) in Hex", null, 4, false, ControlType.TextBox, null)]
    9696        public string InputKey
    9797        {
Note: See TracChangeset for help on using the changeset viewer.