Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeys ¶
func GenerateKeys(enc EncryptionType, keyPath string) error
Types ¶
type EncryptionType ¶
type EncryptionType string
var ( ErrUnknownEncryptionType = errors.New("unknown encryption type") AES256 EncryptionType = "aes256" ECC256 EncryptionType = "ecc256" RSA2048 EncryptionType = "rsa2048" Serpent256 EncryptionType = "serpent256" )
Click to show internal directories.
Click to hide internal directories.