The EncryptionProvider type exposes the following members.
Methods
Name | Description | |
---|---|---|
Decrypt |
Decrypts the base64-encoded encrypted data using DPAPI.
|
|
Deserialize |
Reads data from a file, decrypts it based on a current user store, converts it from base 64 string and deserializes it.
|
|
Encrypt |
Encrypts the data using DPAPI, returns a base64-encoded encrypted string.
|
|
Serialize |
Serializes data, converts it to base 64 string, encrypts it based on a current user store and saves it to a file.
|