-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Stephen Berquet edited this page Feb 3, 2015
·
6 revisions
The php-cryptopp extension 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.
Existing cryptographic extensions such as Mcrypt or OpenSSL are hard to use (unless you really know what you're doing). Also, they only allow to encrypt/decrypt strings, which means that you have to load all data that has to be encrypted/decrypted, what can cause troubles with big files. This extension aims to solve these problems.
| Algorithm type | Names |
|---|---|
| Hash functions | md5, sha1, sha3 (more comming soon) |
| Message authentication codes | HMAC, Two-Track-MAC (more comming soon) |
| Block ciphers | AES (more comming soon) |
| Cipher modes of operation | ECB, CBC, CFB, OFB, CTR |
| Stream ciphers | Sosemanuk, Salsa20, XSalsa20, Panama |
| Authenticated encryption schemes | CCM, EAX, GCM, Generic |
Installation instructions are detailed on the installation page.