source: trunk/CrypPlugins/AES_Teaching/AES.cs @ 1778

Last change on this file since 1778 was 4, checked in by Thomas Schmid, 13 years ago

Init checkin

File size: 3.2 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.IO;
6using System.Windows.Controls;
7using Cryptool.PluginBase;
8
9
10namespace Cryptool.AESTeaching
11{
12    [PluginInfo("A453D58A-ECE2-45cf-A54A-93050F71C2E7",
13        "AES (from Scratch)",
14        "The Advanced Encryption Standard (AES), also known as Rijndael, is a block cipher adopted as an encryption standard by the U.S. government. It has been analyzed extensively and is now used widely worldwide as was the case with its predecessor, the Data Encryption Standard (DES). AES was announced by National Institute of Standards and Technology (NIST) as U.S. FIPS PUB 197 (FIPS 197) on November 26, 2001 after a 5-year standardization process (see Advanced Encryption Standard process for more details). It became effective as a standard May 26, 2002. As of 2006, AES is one of the most popular algorithms used in symmetric key cryptography. It is available by choice in many different encryption packages.",
15        "Cryptool.AESTeaching.icon.png"       
16        )]
17
18    public partial class AESTeaching : IEncryptionAlgorithm
19    {
20        #region Private variables
21        private AESSettings settings;
22        private Stream inputData;
23        private Stream outputData;
24        private UserControlAES AESUserControl;
25        #endregion
26
27        #region AESTeaching Public interface
28       
29        public AESTeaching()
30        {
31            this.settings = new AESSettings();
32            this.AESUserControl = new UserControlAES();
33        }
34
35
36        [Input("Data Input", "Data to be encrypted with AES")]
37        public Stream InputData
38        {
39            get { return this.inputData; }
40            set { this.inputData = value; }
41        }
42
43        [Output("Data Output", "AES encrypted data")]
44        public Stream OutputData
45        {
46            get { return this.outputData; }
47            set { this.outputData = value; }
48        }
49
50        #region IEncryptionAlgorithm Members
51
52        public IEncryptionAlgorithmSettings Settings
53        {
54            get
55            {
56                return this.settings;
57            }
58            set
59            {
60                this.settings = (AESSettings)value;
61            }
62        }
63
64        public void Encrypt()
65        {
66            throw new NotImplementedException();
67        }
68
69        public void Decrypt()
70        {
71            throw new NotImplementedException();
72        }
73
74        #endregion
75
76        #region IPlugin Members
77
78        public event StatusBarTextChangedHandler OnStatusBarTextChanged;
79
80        public event StatusBarProgressbarValueChangedHandler OnStatusBarProgressbarValueChanged;
81
82        public System.Windows.Controls.UserControl PresentationControl
83        {
84            get { return (UserControl)AESUserControl; }
85        }
86
87        public void Initialize()
88        {
89            throw new NotImplementedException();
90        }
91
92        public void Dispose()
93        {
94            throw new NotImplementedException();
95        }
96
97        #endregion
98       
99        #endregion
100
101        #region AESTeaching Private Methods
102
103
104
105
106
107        #endregion
108
109
110
111    }
112
113}
Note: See TracBrowser for help on using the repository browser.