PHP Crypto has been added to PECL. The new devel version 0.1.0 has been released.

The first release contains following features:

  • Incremental cipher decryption and encryption
  • Support for authenticated encryption and decryption (GCM and CCM modes)
  • Incremental hash creation
  • Methods for retrieving informations about cipher and hash algorithms
  • HMAC and CMAC creation
  • Random numbers API including seeding and saving/loading PRNG state
  • Incremental Base64 decoding and encoding