Class EncryptionHelper
Class to encapsulate the encryption and decryption of values as they are stored on the database. This class utilizes a static key, and serves as a single layer of obfuscation against plaintext, rather than a comprehensive security solution.
Inherited Members
Namespace: Quantellia.WMServer.Asset.DataSource
Assembly: WMServer.dll
Syntax
public class EncryptionHelper
Methods
DecryptString(string)
Decrypts the input string according to AES 128
Declaration
public static string DecryptString(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str | The string to be decrypted. |
Returns
Type | Description |
---|---|
string |
EncryptString(string)
Encrypts the input string according to AES 128
Declaration
public static string EncryptString(string str)
Parameters
Type | Name | Description |
---|---|---|
string | str | The input string to be encrypted. |
Returns
Type | Description |
---|---|
string |