Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultPassphraseBytes is the number of random bytes for passphrase generation. // 32 bytes = 256 bits of entropy, encoded as ~43 base64 characters. DefaultPassphraseBytes = 32 )
Variables ¶
This section is empty.
Functions ¶
func GeneratePassphrase ¶
GeneratePassphrase creates a cryptographically secure passphrase. The passphrase is URL-safe base64 encoded (no padding) for easy handling.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.