1 개요[ | ]
- PHP random_bytes()
PHP
Copy
$bytes = random_bytes(5);
var_dump(bin2hex($bytes));
Loading
2 같이 보기[ | ]
- PHP random_int() - 암호학적으로 안전한 의사-랜덤 정수 생성
- PHP openssl_random_pseudo_bytes() - 의사-랜덤 바이트 문자열 생성
- PHP bin2hex() - 바이너리를 16진 표현을 변환
- 라라벨 str_random()
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.