PHP based encryption and decryption library