Re: CyrptProtectData
From: Michael Howard [MS] (mikehow@online.microsoft.com)
Date: 07/29/02
- Next message: Michael Howard [MS]: "Re: Cryptography"
- Previous message: Arild Bakken: "Re: ASPNET User Problem in Shared Hosting Environment"
- In reply to: Bob Leano: "CyrptProtectData"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Michael Howard [MS]" <mikehow@online.microsoft.com> Date: Sun, 28 Jul 2002 16:20:42 -0700
the Cyrpto namespace provides crypto functions, whereas CryptProtectData
provides services for encrypting secret data that does not require the
caller get into the key management game.
if you want to store secrets on behalf of users, the use CryptProtectData,
otherwise for general crypto stuff use the classes in the
System.Secruity.Cryptography namespace.
note, there's a managed version of CryptProtectData in Writing Secure Code -
link below.
-- Cheers, MH This posting is provided "AS IS" with no warranties, and confers no rights. Writing Secure Code - http://www.microsoft.com/MSPress/books/5612.asp "Bob Leano" <Bob.Leano@icn.siemens.com> wrote in message news:50717ab5.0207241431.40116c9a@posting.google.com... > Why should I need to use a Win32 API like CryptProtectData > instead of something in the System.Security.Crypto namespace?
- Next message: Michael Howard [MS]: "Re: Cryptography"
- Previous message: Arild Bakken: "Re: ASPNET User Problem in Shared Hosting Environment"
- In reply to: Bob Leano: "CyrptProtectData"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]