开发帮助文档
laravel
php
CSPRNG
哈希信息摘要框架
Mcrypt
Mhash
OpenSSL
密码散列算法
Sodium
« 加密扩展
简介 »
PHP Manual
加密扩展
CSPRNG
CSPRNG
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
CSPRNG 函数
random_bytes
— Generates cryptographically secure pseudo-random bytes
random_int
— Generates cryptographically secure pseudo-random integers