News for hackers. Stuff that matters.
Re:Random Numbers in Bash by tzs on Monday March 27, 2023 @12:11PM (#35328478)
Set RD to $N random bytes in decimal:

  RD=$(dc -e 16i`xxd -c $N -g $N -l $N -p /dev/urandom | tr a-f A-F`p)
Re:Random Numbers in Bash by radiator on Monday March 27, 2023 @12:42PM (#35328901)
Unfortunately, this is neither readable nor particularly concise.