PHP Classes
elePHPant
Icontem

File: psalm-autoload.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  random_compat  >  psalm-autoload.php  >  Download  
File: psalm-autoload.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: 2 years ago
Size: 231 bytes
 

 

Contents

Class file image Download
<?php

require_once 'lib/byte_safe_strings.php';
require_once
'lib/cast_to_int.php';
require_once
'lib/error_polyfill.php';
require_once
'other/ide_stubs/libsodium.php';
require_once
'lib/random.php';

$int = random_int(0, 65536);