Encrypt(string, key)

Encrypts a string.

See also Decrypt.

string

String to be encrypted.

key

String specifying the key used to encrypt string.