"PHP random bytes()"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==))
14번째 줄: 14번째 줄:
* [[라라벨 str_random()]]
* [[라라벨 str_random()]]


==참고 자료==
==참고==
* http://php.net/manual/en/function.random-bytes.php
* http://php.net/manual/en/function.random-bytes.php


[[분류: PHP]]
[[분류: PHP]]

2017년 6월 27일 (화) 12:32 판

1 개요

PHP random_bytes()
$bytes = random_bytes(5);
var_dump(bin2hex($bytes));
# string(10) "385e33f741"

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}