When and How to use the rc2 class standard?
Here the encryptor and decryptor requires the same key. This is a term used in user and data security from the System.Security.Cryptography namespace, the base class from which all implementations of the RC2 algorithm must derive, from the mscorlib (in mscorlib.dll) assembly.
It is a symmetric encryption standard, designed to replace DES, that in effect uses variable key sizes. A newer symmetric encryption algorithm, namely Advanced Encryption Standard (AES), is available . Consideration for opting for the AES class instead of the RC2 class is recommended.
Take note of the Inheritance Hierarchy (System.Security.Cryptography.RC2
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms it is and can be used on include: Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform.
Key Exam Points
- Use rc2 class for C# and VB, symmetric encryption, system security, know what the term means and how it is used, what it can do
- For the exam, study examples for using rc2 class, that help you to gain a better understanding its application, the newer AES
- Do the practice test
Advanced Encryption Standard (AES)
This article is based on the 2nd edition of the Microsoft .Net Framework Application Training Kit with the purpose to help 70-536 Exam takers to succeed. I constantly look for ways to improve the content. Please leave a comment about this article or drop me a message if you would like to see changes for this site.