fork download
  1. <?php
  2.  
  3. $bytes = random_bytes(20);
  4. var_dump(bin2hex($bytes));
  5.  
  6. // your code goes here
  7.  
Success #stdin #stdout 0.02s 25904KB
stdin
Standard input is empty
stdout
string(40) "1628019ae3752bd4b00ade7e8e878531c2a1f2bb"