Help for this page

Select Code to Download


  1. or download this
    rand(0x100 - 2) + 2</p>
    
    <p>Why not just use</p>
    ...
          sprintf('%02X', rand(0x100)),
          sprintf('%02X', rand(0x100));
    }
    
  2. or download this
    sub mac {
       return sprintf('00:96:14:%02X:%02X:%02X',
    ...
          rand(0x100),
       );
    }