Documentation
¶
Overview ¶
Package crypto provides encryption key management for mirage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadOrGenerateKey ¶
LoadOrGenerateKey reads a 32-byte AES-256 key from path. If the file does not exist, a new random key is generated and written with mode 0600.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.