난수생성함수

string random_bytes ( int $length ) - PHP7 이상에서만 동작
int random_int ( int $min , int $max ) - PHP7 이상에서만 동작
string openssl_random_pseudo_bytes ( int $length [, bool &$crypto_strong ] ) - PHP5.3 이상에서 동작
string bin2hex ( string $str ) - 바이너리 데이터를 16진수 hexa 값으로 변환

Lengths: Bytes: 1 and Hex: 2 string(2) "9f"
Lengths: Bytes: 2 and Hex: 4 string(4) "4a85"
Lengths: Bytes: 3 and Hex: 6 string(6) "0e229f"
Lengths: Bytes: 4 and Hex: 8 string(8) "8e1de6e6"
Lengths: Bytes: 5 and Hex: 10 string(10) "25e0be4618"
Lengths: Bytes: 6 and Hex: 12 string(12) "d17cae9dcbc7"
Lengths: Bytes: 7 and Hex: 14 string(14) "4c2832db17e59e"
Lengths: Bytes: 8 and Hex: 16 string(16) "f1d5a197dd9d4f88"
Lengths: Bytes: 9 and Hex: 18 string(18) "86d2c5c7e6f4b99d2f"
Lengths: Bytes: 10 and Hex: 20 string(20) "99f2d360bf48932b565b"
Lengths: Bytes: 11 and Hex: 22 string(22) "78161f946cb9f5f27fabd8"
Lengths: Bytes: 12 and Hex: 24 string(24) "873129db036f6694f7de89fd"
Lengths: Bytes: 13 and Hex: 26 string(26) "57962b345af9f00619158dc0e6"
Lengths: Bytes: 14 and Hex: 28 string(28) "c54155ab91fc989291637601dd08"
Lengths: Bytes: 15 and Hex: 30 string(30) "51fdc373b53d4a7a296d2804353b35"
Lengths: Bytes: 16 and Hex: 32 string(32) "b14d090950557d29d34b5afdb8ac47a8"
Lengths: Bytes: 17 and Hex: 34 string(34) "96e5239107274f0ff3e64ec2a0c67fbda0"
Lengths: Bytes: 18 and Hex: 36 string(36) "d8dec90d37b004300b1832e2a374b4130c6f"
Lengths: Bytes: 19 and Hex: 38 string(38) "09f39dbd392a6b88b9516a6bbd3fb32d030b9b"
Lengths: Bytes: 20 and Hex: 40 string(40) "53cb4691fa537ff84246f7bec436b83fa4ed5c77"
Lengths: Bytes: 21 and Hex: 42 string(42) "7c83c11b69b83af74298b7756c36dafa91a3efc113"
Lengths: Bytes: 22 and Hex: 44 string(44) "279b49263d3a9b0bd25cb1a4240ee3f700d280b9bafc"
Lengths: Bytes: 23 and Hex: 46 string(46) "ceeb51d5159685e2d4ec81e206cd06b17713ab8e4b30c2"
Lengths: Bytes: 24 and Hex: 48 string(48) "2a28b8039457bbeba2b3396b5a7d400fb2aeb251b1f67328"
Lengths: Bytes: 25 and Hex: 50 string(50) "be1f2c84974056962f2686d50544c0e7ae3f0a6a5ecaa1a155"
Lengths: Bytes: 26 and Hex: 52 string(52) "09409bb3e81bf745fb2f1c7e986d6167a63d76d80235a161f860"
Lengths: Bytes: 27 and Hex: 54 string(54) "9e265cc4f707fa9165b985bcd9249a04fc3d4805bfe42726624735"
Lengths: Bytes: 28 and Hex: 56 string(56) "bc73232b1b2e38a764d5bdcfefbfdee260d4fb67aae0b46c25e60901"
Lengths: Bytes: 29 and Hex: 58 string(58) "eb15cccdb88d38cb21c1a3269fe587b0d1c0bc9f0746676b9adff88add"
Lengths: Bytes: 30 and Hex: 60 string(60) "1f946d0a5462d3abccf9107144a2ffa894827824b5b57dc66dfaaf4cafdb"
Lengths: Bytes: 31 and Hex: 62 string(62) "f9ce6bfd2ce1f92edd697e33288f54c9add63af4cc6f2859d2d9a28e308487"
Lengths: Bytes: 32 and Hex: 64 string(64) "f8679d877956541a7a8b943a3b28f7fd4af3da10271df76479b1d0a49f5bbbaf"
Lengths: Bytes: 33 and Hex: 66 string(66) "e088c9041c8efa22d488d2e294f47e36d3a1a39b21a8759af91ade50026a177c27"
Lengths: Bytes: 34 and Hex: 68 string(68) "5fe15a11c11d711e1218edc9c9e8250f59ae7099310e7397ebde2da6e69a9cd21600"
Lengths: Bytes: 35 and Hex: 70 string(70) "6a13fb8f388a44f1970b511605bc6b57ed9fffab59d360e2c644236eec2de5a7d5a32d"
Lengths: Bytes: 36 and Hex: 72 string(72) "25fbfae7783c6dc0a6cdc2374e757deb270376640b9c45c3e5d6ccc7d1eaa224988946c5"
Lengths: Bytes: 37 and Hex: 74 string(74) "4e14e4991ea4c357a4b28c0bc2b098ee65be7784426d1acf0c33639a55d3dd4f857bd6287b"
Lengths: Bytes: 38 and Hex: 76 string(76) "a33a70bc8d1d421f28f6adaf4ac663a80a482286b4a9698cf3d05553dbdbd1def5422ba5b21c"
Lengths: Bytes: 39 and Hex: 78 string(78) "561adad3c67ad39173ba85353c5de617036e230a7959363d83f08ebb2508b569b556b6220b423a"
Lengths: Bytes: 40 and Hex: 80 string(80) "b646ea8045b02bb61d752ada9e84c1a3e21709035dea80272400f5a929e56dc38c803b8df46ba60f"
Lengths: Bytes: 41 and Hex: 82 string(82) "8791dec19d4cc2c64ce63247f801b14301c198c4d0bbfb26bfeeceaa0e42d0c30c1a4380f68dc50175"
Lengths: Bytes: 42 and Hex: 84 string(84) "9bb377a824178a43ce53dc6fbbe1b1bbb09ba86ff91848e5fc66f041b36fd7a555d1ca4d1d260697fa72"
Lengths: Bytes: 43 and Hex: 86 string(86) "989a16894cf798236bd4463310e883dcd0541cf84f8c07bcd9d069f74a2755cd27eaf595e666ab57c45116"
Lengths: Bytes: 44 and Hex: 88 string(88) "084646f9d91c8750ad81f84a800413f1f5f9efa97d186a9d574e86ccfde6ffe859ea190ee6dea8d6d085841a"
Lengths: Bytes: 45 and Hex: 90 string(90) "547f95ee60d81d972220172246f9a732a754d17fe7cd53c1101f3db50c244551b2258a512aaf8ccb2f2a947332"
Lengths: Bytes: 46 and Hex: 92 string(92) "e57c3a2ca82c24625332541c937ee5078aea093dd3c261e7a56bac28fb063c23f5b8a8fbac4f518137da0e8bf9b8"
Lengths: Bytes: 47 and Hex: 94 string(94) "4bdd39102550fc09f6042cd33ff38324f461411f5e836f9db9eea684a5aa33c05794e975d6637a852a11e1019e6aee"
Lengths: Bytes: 48 and Hex: 96 string(96) "c01853998e975825f0a96d591e3912c152d9230f4b18fea5e57b164a0fd8ceedb88a1f027be52b19d50cbe142ba74b04"
Lengths: Bytes: 49 and Hex: 98 string(98) "bbbcc3b9ecd367bb82b297a8f576b1652f7f837535c2ec336d45574af39d1536ba3837f90613b7ee005edde5ae83807173"
Lengths: Bytes: 50 and Hex: 100 string(100) "98662dbeb42f19526c29c6605f2c4c716d43e6b5deefc97c647492dc26738a5ad87211a5a75d10b29f1e2a94291fb0d07064"