encrypting messages, but not successfully decrypting