Static Public Member Functions | |
static byte[] | StringToByteArray (string str) |
static string | ByteArrayToString (byte[] arr) |
static void | Rc4 (ref String str, Byte[] key) |
static Byte[] | Rc4 (Byte[] bytes, Byte[] key) |
static string | EncryptRijndael (string clearText, string Password) |
static string | DecryptRijndael (string cipherText, string Password) |
static string Powertek.PtString.ByteArrayToString | ( | byte[] | arr | ) | [static] |
Converts a Array of Byte into an String.
arr |
static string Powertek.PtString.DecryptRijndael | ( | string | cipherText, | |
string | Password | |||
) | [static] |
Rijndael String Decryption.
cipherText | Encrypted String | |
Password | Password |
static string Powertek.PtString.EncryptRijndael | ( | string | clearText, | |
string | Password | |||
) | [static] |
Rijndael String Encryption.
clearText | Original String | |
Password | Password |
static Byte [] Powertek.PtString.Rc4 | ( | Byte[] | bytes, | |
Byte[] | key | |||
) | [static] |
RC4 Encryption for a Array of Byte and a given Key.
bytes | The Byte Array to Encrypt | |
key | Key for the encryption |
static void Powertek.PtString.Rc4 | ( | ref String | str, | |
Byte[] | key | |||
) | [static] |
RC4 Encryption for a String and a given Key.
str | String to encrypt | |
key | Key for the encryption |
static byte [] Powertek.PtString.StringToByteArray | ( | string | str | ) | [static] |
Converts a string into a Array of Byte.
str |