public static function genRandomHex($bitLength = 40)
    {
        $sudoRandom = 1;
        for ($i=0;$i<=$bitLength;$i++) $sudoRandom = ($sudoRandom<<1)|rand(0,1);
        return dechex($sudoRandom);
    }