Encrypting and Decrypting texts