Help for this page

Select Code to Download


  1. or download this
    my $rndm = sprintf "%lx", int rand(16**8); 
    #why only 4hex digits when num is 8?
    
  2. or download this
    my $rndm = int rand(16**4);
    my $sess = sprintf "%lx", $rndm;
    $rndm = int rand(16**4);
    $sess .= sprintf "%lx", $rndm;