Encryption class completed

Encryption class is now fully functional.
new TODO's