added ability to encrypt sentences