Data encryption reimplemented with tamper-validation. For Kohana 3.3