secretbox

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 5 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