Skip to content

Crypto

Powerful object-oriented wrapper over lib-sodium.


The Crypto package provides an object-oriented API over the excellent ext-sodium in PHP. It does not attempt to abstract anything from the actual libsodium APIs: it just makes them object-oriented.

Installation

Add the Castor repository to your composer.json.

{
"repositories": [{
"type": "composer",
"url": "https://castor-labs.github.io/php-packages"
}]
}

And then install with composer.

Terminal window
composer require castor/crypto

Motivation