Added encryption implementation

Rendering is not entirely right yet, please hold.

Text reviewing is welcome @droidstealth/developers