crypto

package
v0.0.0-...-1fe63ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptConfigMap

func EncryptConfigMap(configMap []byte, keyPath string, noncePath string) (encConfigMap string, err error)

EncryptConfigMap encrypts the configMap and returns the base64 encoded string of the encrypted config

func GetConfigMapKeys

func GetConfigMapKeys(keyPath string, noncePath string) (symmKey []byte, nonce []byte, err error)

GetConfigMapKeys returns the keys used for encrypting the configMap

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL