added crypto methods

I hope they are not broken, but please check them.
added viewmodelconverter to deserialization process
authenticated encryption implemented and little bit tested
Completed, fixed some issues and little bit tested