Combu
3.2.2
Unity API Documentation
|
Public Member Functions | |
void | SetToken (string sessionToken) |
Sets the session token. More... | |
void | LoadRSA (string sessionToken, string xml) |
Sets the session token and loads the RSA data from XML (Public Key). More... | |
void | LoadRSA (string sessionToken, string modulus, string exponent) |
Sets the session token and loads the Modulus and Exponent of the RSA Public Key. More... | |
string | EncryptRSA (string inputString) |
Encrypts a string with RSA. More... | |
string | EncryptAES (string inputString) |
Encrypts a string with AES. More... | |
string | DecryptAES (string inputString) |
Decrypts a string what was encrypted with the current AES Key/IV. More... | |
string | EncryptMD5 (string inputString) |
Encrypts a string in MD5 hash. More... | |
string | EncryptSHA1 (string inputString) |
Encrypts a string in SHA1 hash. More... | |
string | DecryptResponse (string text) |
Decrypts the response from server. More... | |
Properties | |
string | Token [get] |
string | Key [get] |
string | IV [get] |
string Combu.CombuEncryption.DecryptAES | ( | string | inputString | ) |
Decrypts a string what was encrypted with the current AES Key/IV.
inputString | Input string. |
string Combu.CombuEncryption.DecryptResponse | ( | string | text | ) |
Decrypts the response from server.
text | Response text. |
string Combu.CombuEncryption.EncryptAES | ( | string | inputString | ) |
Encrypts a string with AES.
inputString | Input string. |
string Combu.CombuEncryption.EncryptMD5 | ( | string | inputString | ) |
Encrypts a string in MD5 hash.
inputString | Input string. |
string Combu.CombuEncryption.EncryptRSA | ( | string | inputString | ) |
Encrypts a string with RSA.
inputString | Text to encrypt. |
string Combu.CombuEncryption.EncryptSHA1 | ( | string | inputString | ) |
Encrypts a string in SHA1 hash.
inputString | Input string. |
void Combu.CombuEncryption.LoadRSA | ( | string | sessionToken, |
string | modulus, | ||
string | exponent | ||
) |
Sets the session token and loads the Modulus and Exponent of the RSA Public Key.
sessionToken | Session token. |
modulus | Modulus. |
exponent | Exponent. |
void Combu.CombuEncryption.LoadRSA | ( | string | sessionToken, |
string | xml | ||
) |
Sets the session token and loads the RSA data from XML (Public Key).
sessionToken | Session token. |
xml | RSA Xml. |
void Combu.CombuEncryption.SetToken | ( | string | sessionToken | ) |
Sets the session token.
sessionToken | Session token. |