The class provided in the previous example can be used to encrypt sensitive information before committing it to a database or merely a text file. With very few modifications this wrapper class can be modified to use DES, RC2 or a different .NET cryptographic provider. Not only are the methods I've described very easy to use, but they provide you with a powerful tool for ensuring that your private data remains private.
To learn more about cryptography and the various algorithms, I would highly suggest visiting the
web site. CounterPane is a security consulting firm that deals with a great deal of cryptography. The President of CounterPane also authored a book called
, which describes many algorithms in detail as well as providing C source code to the algorithms.
The use of public key cryptography has many benefits and though we didn't cover it here, you may want to read more about it at the following websites.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |