Introduction

There are several extensions & libraries that provide cryptography primitives for PHP:

Although these extensions all provide roughtly the same features, the programmatic interface they expose is very different.

Also, very few of those extensions support on-the-fly encryption/decryption.

Cryptal was created to work around these issues by providing a unified interface & transparent support for on-the-fly encryption/decryption using stream filters.