Click here to Skip to main content
11,790,387 members (64,720 online)
Click here to Skip to main content

String Encryption using DPAPI and Extension Methods

, 15 May 2009 CPOL 22.5K 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.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


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

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