급하게 한번쓰고 말 스트링만들기...
급하게 한번쓰고 말 스트링만들기...
[code]
$pwd = bin2hex(openssl_random_pseudo_bytes(2));
echo $pwd."<br>";
$pwd = bin2hex(openssl_random_pseudo_bytes(4));
echo $pwd."<br>";
$pwd = bin2hex(openssl_random_pseudo_bytes(8));
echo $pwd."<br>";
$pwd = bin2hex(openssl_random_pseudo_bytes(16));
echo $pwd."<br>";
[/code]
[결과 - 리프레쉬 할 때마다 다른 문자열을 생성해줘요]
a585
b0d520dc
63773a99faa407b2
2bcf5305650b400ae62096326b1384e4
댓글 3개
4년 전
임시비밀번호 만들어 줄때 유용할것 같습니다.
4년 전
리프레시 할 때마다 다른 문자열
SimpleCode
3년 전
감사합니다
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4946 | node.js | 6년 전 | 2608 | ||
| 4945 | node.js | 6년 전 | 2379 | ||
| 4944 | node.js | 6년 전 | 2519 | ||
| 4943 | node.js | 6년 전 | 2269 | ||
| 4942 | node.js | 6년 전 | 2245 | ||
| 4941 | node.js | 6년 전 | 2717 | ||
| 4940 | node.js | 6년 전 | 1867 | ||
| 4939 | node.js | 6년 전 | 1995 | ||
| 4938 | node.js | 6년 전 | 2458 | ||
| 4937 | node.js | 6년 전 | 2248 | ||
| 4936 | node.js | 6년 전 | 2318 | ||
| 4935 | node.js | 6년 전 | 2136 | ||
| 4934 | node.js | 6년 전 | 2440 | ||
| 4933 | node.js | 6년 전 | 2245 | ||
| 4932 | node.js | 6년 전 | 2686 | ||
| 4931 | node.js | 6년 전 | 2070 | ||
| 4930 | node.js | 6년 전 | 1998 | ||
| 4929 | node.js | 6년 전 | 8629 | ||
| 4928 | node.js | 6년 전 | 3749 | ||
| 4927 | node.js | 6년 전 | 2392 | ||
| 4926 | node.js | 6년 전 | 2504 | ||
| 4925 | node.js | 6년 전 | 2081 | ||
| 4924 | node.js | 6년 전 | 3372 | ||
| 4923 | node.js | 6년 전 | 2220 | ||
| 4922 | node.js | 6년 전 | 1989 | ||
| 4921 | node.js | 6년 전 | 2046 | ||
| 4920 | node.js | 6년 전 | 1764 | ||
| 4919 | node.js | 6년 전 | 2030 | ||
| 4918 | node.js | 6년 전 | 2176 | ||
| 4917 | node.js | 6년 전 | 2393 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기