SecureRandom deprecated

class SecureRandom implements SecureRandomInterface

deprecated

since version 2.8, to be removed in 3.0. Use the random_bytes function instead

A secure random number generator implementation.

Methods

string nextBytes(int $nbBytes)

Generates the specified number of secure random bytes.

Details

string nextBytes(int $nbBytes)

Generates the specified number of secure random bytes.

Parameters

int $nbBytes

Return Value

string
doc_Symfony
2016-10-28 06:31:34
Comments
Leave a Comment

Please login to continue.