![]() |
Common
A library of common classes.
|
Contains methods related to encryption and decryption. More...
Static Public Member Functions | |
static T | DecryptFromStream< T > (Stream stream, XmlObjectSerializer serializer, byte[] key) |
Decrypts the object from the stream. More... | |
static string | DecryptTextFile (string path, byte[] key) |
Returns the decrypted text for the file at the specified path. More... | |
static void | EncryptToStream< T > (Stream stream, XmlObjectSerializer serializer, T graph, byte[] key) |
Encrypts the object to the stream. More... | |
Contains methods related to encryption and decryption.
Definition at line 10 of file Cryptography.cs.
|
static |
Decrypts the object from the stream.
stream | The stream. |
serializer | The serializer. |
key | The secret key. |
Definition at line 58 of file Cryptography.cs.
|
static |
Returns the decrypted text for the file at the specified path.
path | The file path. |
key | The secret key. |
Definition at line 17 of file Cryptography.cs.
|
static |
Encrypts the object to the stream.
stream | The stream. |
serializer | The serializer. |
graph | The object graph. |
key | The secret key. |
Definition at line 41 of file Cryptography.cs.