PHP Classes

File: autoload-phpunit.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   PHP Sodium Compat   autoload-phpunit.php   Download  
File: autoload-phpunit.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Sodium Compat
Cryptographic functions of libsodium in pure PHP
Author: By
Last change: Implement Ristretto255

This is compatible with the new ext/sodium functions landing in PHP 8.1.0 and PECL libsodium 2.0.25.

See: https://github.com/php/php-src/pull/6922
See: https://github.com/jedisct1/libsodium-php/pull/212
Date: 1 year ago
Size: 218 bytes
 

Contents

Class file image Download
<?php

require_once (dirname(__FILE__) . '/vendor/autoload.php');

if (
PHP_VERSION_ID >= 50300) {
    require_once (
dirname(__FILE__) . '/tests/phpunit-shim.php');
}
require_once (
dirname(__FILE__) . '/autoload.php');