Resource

Build on XMLDOM - Safe DES CryptoStream Class Library in VB.NET

Bhasker Das Resources Apr 11, 2005
One of the common things we need to do when passing our XML documents around is to be able to encrypt key data elements so that they are kept from prying eyes. Since I'm working on a lot of .NET stuff now, I thought I'd take the time to practice my VB.NET to write a little DES CryptoStream class library. The neat thing about this class is that I do a final encoding of the encrypted input string as Base64 so that it can be inserted in an XML document for streaming over http without fear about those nasty little illegal characters that make XML parsers puke. And, when you pass in an encrypted element to be decrypted, your base64 gets unwound automatically so the original encrypted string can be decrypted.
http://www.eggheadcafe.com/articles/20020315.asp
share this resource :
post comment
 
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
Sponsored by
Become a Sponsor