update to encrypt letter method