Documentation
¶
Overview ¶
Package vault provides security primitives including AES-GCM encryption and TLS certificate generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encrypt ¶
Encrypt takes a plaintext string and a 32-byte key, returning an encrypted hex string.
func GenerateSelfSignedCert ¶
func GenerateSelfSignedCert() (tls.Certificate, error)
GenerateSelfSignedCert creates a self-signed certificate for internal use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.