Added an encryption test and some TODO items for missing functionality
and security concerns.
New test for encryption