Documentation ¶
Overview ¶
Package keygen provides functionality for generating API client IDs and secrets.
Index ¶
Constants ¶
View Source
const ( KeyIDLength = 32 SecretLength = 64 )
Defaults for the length of key IDs and secrets in Quarterdeck.
Variables ¶
This section is empty.
Functions ¶
func Alpha ¶
Alpha generates a random string of n characters that only includes upper and lowercase letters (no symbols or digits).
func AlphaNumeric ¶
AlphaNumeric generates a random string of n characters that includes upper and lowercase letters and the digits 0-9.
func CryptoRandInt ¶
func CryptoRandInt() uint64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.