Update dependencies.
Add encrypt function. Minor changes.