Introduction
PHP Manual
PHP Manual»Random»Random\CryptoSafeEngine

The Random\CryptoSafeEngine interface

(PHP 8 >= 8.2.0)

A marker interface indicating that the Random\Engine returns cryptographically secure randomness.

namespace Random;
interface CryptoSafeEngine extends Random\Engine {
/* Inherited methods */
public function Random\Engine::generate(): string
}
To Top