PHP bindings for Crypto++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
php-stubs
src
tests
.gitignore
.travis.yml
LICENSE
README.md
config.m4
config.py

README.md

PHP Crypto++ bindings

Provides an object-oriented API to use a wide variety of cryptographic algorithms based on the Crypto++ library. The API is not strictly identical to the original Crypto++ API and has been simplified to be usable by anyone that has not any knowledge in cryptography.

Build Status

Requirements

  • PHP 5.3+
  • Crypto++ library
  • Python 2.7+ (make)

The Crypto++ library can be installed with one of the following commands, depending on your distribution:

  • Ubuntu: sudo apt-get install libcrypto++-dev
  • Debian: sudo apt-get install libcrypto++-dev
  • ArchLinux: sudo pacman -S crypto++
  • CentOS/RedHat: yum install cryptopp-devel

Installation

phpize
./configure
make
sudo make install

Now you can add the following line to your php.ini file:

    extension=cryptopp.so

Documentation

Full documentation is not finalized yet. You can see the current version in the wiki.

See the PHP stubs available in the php-stubs directory, which may be also used in your IDE for code completion.

Status

Available

  • Symmetric encryption
  • Hash functions
  • MAC algorithms

Comming

  • Asymmetric cryptography
  • Key derivation functions

Author

This project is authored and maintained by Stephen Berquet.

License

Licensed under the MIT License - see the LICENSE file for details