I came across this JavaScript function and I don't understand quite what it's doing, especially with the use of 0xF.
What does the 0xF do, exactly. It looks like a null nibble to me.
function()
{
var g = "";
for(var i = 0; i < 32; i++)
g += Math.floor(Math.random() * 0xF).toString(0xF)
return g;
}