Method | Description | |
---|---|---|
Decrypt ( byte cipherText ) : byte[] |
Decrypts the specified cipher text.
|
|
Decrypt ( string cipherText ) : string |
Decrypts the specified cipher text.
|
|
Encrypt ( byte plaintext ) : byte[] |
Encrypts the specified plain text.
|
|
Encrypt ( string plaintext ) : string |
Encrypts the specified plain text.
|
|
GetSetting ( string key ) : string |
|
|
GetSqlConnectionString ( string key ) : SqlConnectionStringBuilder |
|
|
Initialize ( ICryptoEngine engine ) : void |
Initializes the CryptoEngine to use.
|
|
Initialize ( this engine ) : void |
Initializes the CryptoEngine to use.
|
Method | Description | |
---|---|---|
CheckInitialization ( ) : void |
public static Decrypt ( byte cipherText ) : byte[] | ||
cipherText | byte | The cipher text. |
return | byte[] |
public static Decrypt ( string cipherText ) : string | ||
cipherText | string | The cipher text. |
return | string |
public static Encrypt ( byte plaintext ) : byte[] | ||
plaintext | byte | The plain text. |
return | byte[] |
public static Encrypt ( string plaintext ) : string | ||
plaintext | string | The plain text. |
return | string |
public static GetSetting ( string key ) : string | ||
key | string | |
return | string |
public static GetSqlConnectionString ( string key ) : SqlConnectionStringBuilder | ||
key | string | |
return | SqlConnectionStringBuilder |
public static Initialize ( ICryptoEngine engine ) : void | ||
engine | ICryptoEngine | CryptoEngine to use |
return | void |
public static Initialize ( this engine ) : void | ||
engine | this | CryptoEngine to use |
return | void |