News for hackers. Stuff that matters.
Re:Random Numbers in Bash by TRiG_Ireland on Monday March 27, 2023 @12:46PM (#35328962)
I use this to create passwords when I need to manually:

    function password_generate { head -c ${1-12} /dev/urandom | base64; }
Re:Random Numbers in Bash by chasil on Monday March 27, 2023 @01:27PM (#35329565)
Sometimes, extreme portability makes us do desperate things.

  # uname -a
  HP-UX prdcrm B.10.20 A 9000/800 862741461 two-user license

  # ls -l /dev/urandom
  /dev/urandom not found

  # openssl rand -base64 8
  v51U1RvSD2Q=
I could run this on VAX VMS if you want.