secretbox

package
v0.0.0-...-d75b2e9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

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