Click here to Skip to main content
15,886,872 members
Articles / Programming Languages / C#

String Encryption using DPAPI and Extension Methods

Rate me:
Please Sign up or sign in to vote.
4.00/5 (7 votes)
15 May 2009CPOL2 min read 48.3K   15  
Extension methods that encrypt / decrypt strings through the Windows Data Protection API (DPAPI) with optional usage of secure strings that protect data in memory

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect I'm a gun for hire
Switzerland Switzerland
Philipp is an independent software engineer with great love for all things .NET.
He lives in Winterthur, Switzerland and his home on the web is at http://www.hardcodet.net.

Comments and Discussions