encrypt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tomb

type Tomb struct {
	// contains filtered or unexported fields
}

Encryptor/Decryptor

Into the depths we dive, where the secrets lie...

func NewTomb

func NewTomb(keyPath string) (*Tomb, error)

func (*Tomb) CheckPerms

func (tomb *Tomb) CheckPerms(checkData []byte) bool

func (*Tomb) Decrypt

func (tomb *Tomb) Decrypt(data []byte) ([]byte, error)

func (*Tomb) Encrypt

func (tomb *Tomb) Encrypt(msg []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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