You are here

public static function Utilities::generateRandomBytes in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

1 call to Utilities::generateRandomBytes()
Utilities::generateID in includes/Utilities.php

File

includes/Utilities.php, line 646

Class

Utilities
This file is part of miniOrange SAML plugin.

Code

public static function generateRandomBytes($length, $fallback = TRUE) {
  return openssl_random_pseudo_bytes($length);
}