<commit_before>[![Build Status](https://travis-ci.org/jedisct1/libsodium-php.png?branch=master)](https://travis-ci.org/jedisct1/libsodium-php?branch=master)

libsodium-php
=============

A simple, low-level PHP extension for
[libsodium](https://github.com/jedisct1/libsodium).

Requires libsodium >= 0.6.0 and PHP >= 5.4.0

Installation
============

    pecl install libsodium

And add the following line to your `php.ini` file:

    extension=libsodium.so

Secret-key cryptography
=======================

Secret-key authenticated encryption<commit_msg>libsodium is in Ubuntu and Debian.<commit_after>[![Build Status](https://travis-ci.org/jedisct1/libsodium-php.png?branch=master)](https://travis-ci.org/jedisct1/libsodium-php?branch=master)

libsodium-php
=============

A simple, low-level PHP extension for
[libsodium](https://github.com/jedisct1/libsodium).

Requires libsodium >= 0.6.0 and PHP >= 5.4.0

On Debian 8 and Ubuntu 15.04, libsodium can be installed with:

    apt-get install libsodium

Installation
============

    pecl install libsodium

And add the following line to your `php.ini` file:

    extension=libsodium.so

Secret-key cryptography
=======================

Secret-key authenticated encryption
{'fraction_non_alphanumeric': 0.18515497553017946, 'fraction_numerical': 0.018760195758564437, 'mean_word_length': 5.044334975369458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2291599', 'n_tokens_mistral': 448, 'n_tokens_neox': 392, 'n_words': 88}