Updated my random number stream generator web toy.
Now using a freshly modified entropy collection method that doesn't totally crash Tor Browser and other runtime environments that have a generally lower time accuracy. Also now using ChaCha20 insteal of Salsa20.

rvklein.me/proj/rando/

🐇

To my surprise, this thing is actually working incredibly well for how I am abusing timers and OS task scheduler process interrupts in order to gather entropy for a reasonably random number source.

I've been experimenting with these types of tricks for a while. Maybe I will build it up into a proper -- somewhat cryptographically secure -- mixed random number pool source. I will have to look into how people go about doing that I guess.

[Coping here.]

/*!{"author_url":"rvklein.me","modified":"2020-10-30T06:30:00Z"}!*/

function collectTimeEntropy ()
{
function cte (n)
{
function t ()
{
return(1*(new Date()));
};

var y=(
(function(s)
{
return(function()
{
var m=0x7FFFFFFF;
s=(s%m);
if(0>=s){s+=m;}
s=((0xBC8F*s)%m);
return(s);
}
);
}
)(n)
);

var x=t();

while(t()<(n+x)){y();};

return(y());
};

return( (cte(7)^cte(5)^cte(3)) );
};

// Anyone wanna test this? //

Oh, well then, never mind, the *account* still works.

Show thread

> Twitter account suddenly stops working.
> Gmail is down when trying to access the email inbox the Twitter account is tied to.

Fug.

Show more
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!