Skip to content

nipil/ChaCha20

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

ChaCha20

Build Status Coverage Status

A pure-php implementation of ChaCha20, fully tested on both 32-bit php and 64 bits.

Install

Tested on Ubuntu 16.04 LTS (with php 7.0)

basic system components :

sudo apt-get install composer

phpunit asks for following system additional components :

sudo apt-get install php-xml php-mbstring zip

coveralls.io asks for following system additional components :

sudo apt-get install php-curl

additionnal package if you want to run code coverage locally :

sudo apt-get install php-xdebug

Install with composer (dev)

composer install

Install with composer (production)

composer install --no-dev

Run tests with composer

composer exec -- phpunit

Run tests with composer with local code coverage (requires xdebug, see above)

mkdir -p build/html
composer exec -- phpunit --coverage-text --coverage-html build/html/

About

A pure-php implementation of ChaCha20, fully tested

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages