Class DesSimple
- Namespace
- PolarStudioGlobals
- Assembly
- PolarStudioGlobals.dll
Depricated class for the old DES algorithm.
public static class DesSimple
- Inheritance
-
DesSimple
- Inherited Members
Methods
DecryptBytes(byte[], byte[])
public static string DecryptBytes(byte[] pSecretCode, byte[] pKey)
Parameters
Returns
DecryptHex(string, string)
public static string DecryptHex(string pSecretCode, string pKey)
Parameters
Returns
DecryptText(string, string)
public static string DecryptText(string pInputHex, string pKey)
Parameters
Returns
EncryptBytes(byte[], byte[])
public static string EncryptBytes(byte[] pOriginal, byte[] pKey)
Parameters
Returns
EncryptHex(string, string)
public static string EncryptHex(string pOriginal, string pKey)
Parameters
Returns
EncryptText(string, string)
public static string EncryptText(string pInputText, string pKey)
Parameters
Returns
MakeHash(string, string)
public static string MakeHash(string pInputString, string pKey = "")
Parameters
Returns
SignText(string, string, int)
Creates a hash in hex
public static string SignText(string pInputText, string pSignatureKey, int pAlgorithm = 0)
Parameters
pInputText
stringpSignatureKey
stringpAlgorithm
int1: sha / 2:MD5 else: auto (Signature="": Sha else MD5)