Mentalis.org Security Library documentation

Cryptography

DataProtectionCSP information

The DataProtectionCryptoServiceProvider is a class that performs encryption and decryption on data without explicitly requiring a password.
There are two different types of encryption. The first type will associate the encrypted data with the logon credentials of the current user. Hence only a user with matching logon credentials can decrypt the data.
The second type will associate the encrypted data with the local machine. Any user of a specific machine will be able to decrypt encrypted data under this scheme.