apiserver: k8s.io/apiserver/pkg/storage/value/encrypt/secretbox Index | Files

package secretbox

import "k8s.io/apiserver/pkg/storage/value/encrypt/secretbox"

Package secretbox transforms values for storage at rest using XSalsa20 and Poly1305.


Package Files


func NewSecretboxTransformer Uses

func NewSecretboxTransformer(key [32]byte) value.Transformer

NewSecretboxTransformer takes the given key and performs encryption and decryption on the given data.

Package secretbox imports 4 packages (graph) and is imported by 1 packages. Updated 2019-09-14. Refresh now. Tools for package owners.