Module keysmith::char

source ·
Expand description

Generate a single character for use in a key.

This is the same module used internally to generate keys. The other modules are recommended, but this is for when/if you need more options than what’s here by default.

Public constants are the character sets typically used to generate keys.

Structs

Constants

Functions

  • Generates a char for a key. Use GenCharOpts for options.
  • Returns a random character from a custom character set
  • Generates a UUID char for the specified version.
  • Use a GenCharOpts to create a character set.