Update version with handling of PKCS7 padding

- Handled the PKCS7 padding instead of using regular expression
- Added a class oriented version of safecrypt.php