Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Dcrypt
Random
PHP Class Dcrypt\Random
See link:
https://github.com/mmeyer2k/dcrypt
See link:
https://apigen.ci/github/mmeyer2k/dcrypt/class-Dcrypt.Random.html
Author:
Michael Meyer (mmeyer2k) (
[email protected]
)
显示文件
Open project: dopecode/dcrypt
Class Usage Examples
Public Methods
Method
Description
bytes
(
integer
$bytes
) :
string
Return securely generated random bytes.
Private Methods
Method
Description
fromMcrypt
(
integer
$bytes
) :
string
Get random bytes from Mcrypt
toss
( )
Throw an error when a failure occurs.
Method Details
bytes()
public
static
method
Return securely generated random bytes.
public
static
bytes
(
integer
$bytes
) :
string
$bytes
integer
Number of bytes to get
return
string