opsec

package
v0.0.0-...-96a2965 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SboxKey *[]byte
)

Functions

func NewSBoxKey

func NewSBoxKey() []byte

func SBoxDec

func SBoxDec(Key []byte, content []byte) ([]byte, error)

Decrypts data with SecretBox Encryption. Good for small messages.

func SBoxEnc

func SBoxEnc(Key []byte, content []byte) ([]byte, error)

Encrypts data with SecretBox Encryption. Good for small messages.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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