onionbox

package
v0.0.0-...-b83fb8d Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Overhead = 32 + box.Overhead

Overhead of one layer

Variables

This section is empty.

Functions

func Open

func Open(onion []byte, nonce *[24]byte, sharedKeys []*[32]byte) ([]byte, bool)

func Seal

func Seal(message []byte, nonce *[24]byte, publicKeys []*[32]byte) ([]byte, []*[32]byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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