typo in encryption class