changes to encryption