secretbox

package
v0.21.6-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 29

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretboxTransformer

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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