Using Themis in PHP #
PHPThemis extension provides access to features of Themis cryptographic library in PHP:
- Key generation: securely generate strong key pairs and symmetric keys.
- Data storage at rest: encrypt sensitive data for storage with symmetric cryptography.
- Authenticated messaging: exchange messages which are readable only by the recipent using asymmetric cryptography, or sign messages with your private key to prove identity.
- Protect data in motion: establish a session between a client and a server for secure data exchange with perfect forward secrecy guarantees.
PHPThemis does not support secure comparison — verification of shared secret ownership using zero-knowledge proofs. This feature is currently in development for PHPThemis.
Supported PHP versions #
PHP versions 5.6, 7.0, 7.1, 7.2 are supported.
Warning: At the moment, PHPThemis does not work with PHP 7.3 and 7.4.
Please contact us if you need support.
Getting started #
Follow these instructions to install PHPThemis.
Here are other things that might interest you:
- browse code samples to get a feel of PHPThemis API
- read feature guides to learn how to use PHPThemis effectively