Revert "Removed encryption"

This reverts commit a17791b0740127c426e47ec65a9579f7d5d9055d.