Class Encryption
Static class that will allow for a string to be encrypted and an existing encryption string decrypted back to original string
Assembly: FpAssistantCoreScl.dll
Syntax
public static class Encryption
Fields
View Source
iv
Declaration
public const string iv = "jvz8bUAx"
Field Value
View Source
key
Declaration
public const string key = "cEvu4MHkqz7mQgeqmB6mQEXi"
Field Value
Methods
View Source
CaesarCipher(string, int)
Declaration
public static string CaesarCipher(string inputString, int shiftOrUnshift)
Parameters
Type |
Name |
Description |
string |
inputString |
|
int |
shiftOrUnshift |
|
Returns
View Source
Decrypt(string)
Declaration
public static string Decrypt(string decrypt)
Parameters
Type |
Name |
Description |
string |
decrypt |
The string value to be decrypted back to the original string
|
Returns
Type |
Description |
string |
Decrypted string
|
View Source
Decrypt2(string, int)
Declaration
public static string Decrypt2(string decrypt, int CCaesarCipherKey)
Parameters
Type |
Name |
Description |
string |
decrypt |
|
int |
CCaesarCipherKey |
|
Returns
View Source
Encrypt(string)
Declaration
public static string Encrypt(string encrypt)
Parameters
Type |
Name |
Description |
string |
encrypt |
The string value to be encrypted
|
Returns
Type |
Description |
string |
Encrypted string
|
View Source
Encrypt2(string, int)
Declaration
public static string Encrypt2(string encrypt, int CCaesarCipherKey)
Parameters
Type |
Name |
Description |
string |
encrypt |
|
int |
CCaesarCipherKey |
|
Returns