Cryptography in .Net Framework 2.0: Design of the Cryptography Application Block
The Cryptography Application Block was designed to achieve the following goals:
Provide a simple and intuitive interface to the commonly required functionality:
- Encapsulate the logic that is used to perform the most common application cryptography tasks.
- Present a standard consistent model for common cryptography tasks
- Make sure that the application block is extensible
- Make sure minimal or negligible performance impact compared to manually written cryptography code that accomplishes the same functionality
Figure 1 illustrates the design of the Cryptography Application Block.
ISSUES? Definately. Why is the CAB (Cryptograhy Application Block) only providing Symmetric functionality? (Symmetric encryption is where the Key used to encrypt plaintext and decrypt ciphertext are the same.) What about Asymmetric functionality (Public/Prive key encryption)?
On the other hand the Cryptography Application Block will be updated to work with the .NET Framework 2.0 and may include additional improvements based on customer feedback. So feedback away!!