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.
[ Parent
| on HN ]