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