You are here

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

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

File

src/Utilities.php, line 254

Class

Utilities
This file is part of miniOrange SAML plugin.

Namespace

Drupal\miniorange_saml

Code

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