some major changes to encryption module