News for hackers. Stuff that matters.
Re:Random Numbers in Bash by sltkr on Monday March 27, 2023 @12:19PM (#35328593)
$((32#$DRANDOM_SEED)) is not correct: the sha256 hash is in base 16, not 32. With your current implementation every fifth bit is always 0.
Re:Random Numbers in Bash by pmarreck on Monday March 27, 2023 @12:30PM (#35328738)
Ooooh, good find!