Added more encryption/decryption functions.