Download the PHP package lyoshenka/php-triplesec without Composer
On this page you can find all versions of the php package lyoshenka/php-triplesec. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lyoshenka/php-triplesec
More information about lyoshenka/php-triplesec
Files in lyoshenka/php-triplesec
Download lyoshenka/php-triplesec
More information about lyoshenka/php-triplesec
Files in lyoshenka/php-triplesec
Vendor lyoshenka
Package php-triplesec
Short Description PHP port of Keybase's triplesec encryption
License MIT
Homepage https://github.com/lyoshenka/php-triplesec
Package php-triplesec
Short Description PHP port of Keybase's triplesec encryption
License MIT
Homepage https://github.com/lyoshenka/php-triplesec
Please rate this library. Is it a good library?
Informations about the package php-triplesec
php-triplesec
PHP implementation of Triplesec.
Installation
Requirements
- php7+
- extensions: mcrypt, scrypt, libsodium
On Ubuntu 16.04:
sudo apt install build-essential php7.0 php7.0-dev php7.0-mcrypt php-pear libsodium18 libsodium-dev
sudo pecl install libsodium scrypt
echo 'extension=libsodium.so' | sudo tee /etc/php/7.0/mods-available/libsodium.ini
echo 'extension=scrypt.so' | sudo tee /etc/php/7.0/mods-available/scrypt.ini
sudo phpenmod libsodium scrypt
Composer Install
composer install lyoshenka/php-triplesec
Usage
<?php
require __DIR__.'/vendor/autoload.php';
echo \lyoshenka\TripleSec::encrypt('this is the secret message', 's3cr3tk3y') . "\n";
Tests
php test/test.php
All versions of php-triplesec with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-libsodium Version >=1.0
ext-mcrypt Version >=2.4
ext-scrypt Version >=1.0
ext-libsodium Version >=1.0
ext-mcrypt Version >=2.4
ext-scrypt Version >=1.0
The package lyoshenka/php-triplesec contains the following files
Loading the files please wait ....