1
0

random 381 B

123456789101112131415161718192021222324
  1. .TH RANDOM 1
  2. .SH NAME
  3. random - print truly random probability or string
  4. .SH SYNOPSIS
  5. .B random
  6. [
  7. .B -s
  8. chars
  9. ]
  10. .SH DESCRIPTION
  11. .I Random
  12. normally prints a truly random number between 0 and 1.
  13. Given
  14. .BR -s ,
  15. it instead prints a base-64-encoded truly random string of
  16. .I chars
  17. characters.
  18. .SH SOURCE
  19. .B /sys/src/cmd/random.c
  20. .SH SEE ALSO
  21. .IR rand (2),
  22. .B /dev/random
  23. in
  24. .IR cons (3)