Powertek.PtString Struct Reference

Additional string functions. More...

List of all members.

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)


Detailed Description


Member Function Documentation

static string Powertek.PtString.ByteArrayToString ( byte[]  arr  )  [static]

Converts a Array of Byte into an String.

Parameters:
arr 
Returns:

static string Powertek.PtString.DecryptRijndael ( string  cipherText,
string  Password 
) [static]

Rijndael String Decryption.

Parameters:
cipherText Encrypted String
Password Password
Returns:
Decrypted String or null on error

static string Powertek.PtString.EncryptRijndael ( string  clearText,
string  Password 
) [static]

Rijndael String Encryption.

Parameters:
clearText Original String
Password Password
Returns:
Encrypted String

static Byte [] Powertek.PtString.Rc4 ( Byte[]  bytes,
Byte[]  key 
) [static]

RC4 Encryption for a Array of Byte and a given Key.

Parameters:
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.

Parameters:
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.

Parameters:
str 
Returns:


The documentation for this struct was generated from the following file:

Generated on Thu Nov 20 04:47:26 2008 for Powertek, 2.0.5.52 by  doxygen 1.5.7.1