PHP Classes

File: tests/specific/libsodium.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   random_compat   tests/specific/libsodium.php   Download  
File: tests/specific/libsodium.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: random_compat
Provide random_bytes and random_int functions
Author: By
Last change:
Date: 6 years ago
Size: 286 bytes
 

Contents

Class file image Download
<?php
$ut_dir
= dirname(dirname(__DIR__));
require_once
$ut_dir.'/lib/byte_safe_strings.php';
require_once
$ut_dir.'/lib/cast_to_int.php';
require_once
$ut_dir.'/lib/error_polyfill.php';
require_once
$ut_dir.'/lib/random_bytes_libsodium.php';
require_once
$ut_dir.'/lib/random_int.php';