Core: added phpdoc comments to encryption class