리눅스 openssl rand 랜덤바이트

Jmnote (토론 | 기여)님의 2016년 12월 12일 (월) 16:57 판 (새 문서: ==개요== ;openssl rand * 지정한 길이(바이트)만큼의 랜덤값 생성 <source lang='console'> [root@zetawiki ~]# openssl rand 1 > 1.bin [root@zetawiki ~]# openssl rand 2 >...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

openssl rand
  • 지정한 길이(바이트)만큼의 랜덤값 생성
[root@zetawiki ~]# openssl rand 1 > 1.bin
[root@zetawiki ~]# openssl rand 2 > 2.bin
[root@zetawiki ~]# openssl rand 3 > 3.bin
[root@zetawiki ~]# ll *.bin
-rw-r--r--. 1 root root 1 Dec 13 01:57 1.bin
-rw-r--r--. 1 root root 2 Dec 13 01:57 2.bin
-rw-r--r--. 1 root root 3 Dec 13 01:57 3.bin

2 같이 보기

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