Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 683 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 683 Bytes

Random (rand)

  • Int: Generates a pseudo-random integer.
  • Int64: Generates a pseudo-random 63-bit integer.
  • SecureNumber: Generates a cryptographically secure random number.
  • NumberInRange: Generates a random number within a specified range.
  • String: Generates a random alphanumeric string.
  • StringWithLength: Generates a random string of a custom length.
  • StringWithCharset: Generates a random string using a custom character set.
  • Pick: Picks a random element from a given slice.
  • Shuffle: Shuffles the elements of a slice randomly.

Examples:

For examples of each function, please checkout EXAMPLES.md