Click here to Skip to main content
12,751,832 members (30,832 online)
Click here to Skip to main content


15 bookmarked
Posted 14 May 2009

String Encryption using DPAPI and Extension Methods

, 15 May 2009 CPOL
Extension methods that encrypt / decrypt strings through the Windows Data Protection API (DPAPI) with optional usage of secure strings that protect data in memory.



Compare Revision Minor Date Status Editor
5 - publicly available No 15-May-09 8:48 Available Chris Maunder
4 No 15-May-09 9:41 Composing Philipp Sumi
3 No 15-May-09 8:48 Composing Philipp Sumi
2 No 14-May-09 17:32 Composing Philipp Sumi
1 No 14-May-09 5:27 Composing Philipp Sumi


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


About the Author

Philipp Sumi
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

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170217.1 | Last Updated 15 May 2009
Article Copyright 2009 by Philipp Sumi
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid