crypto

package
v0.0.0-...-d85f73f Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

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

func NewCipher

func NewCipher(v [16]byte) *Cipher

func (*Cipher) Decrypt

func (c *Cipher) Decrypt(src []byte) ([]byte, error)

func (*Cipher) Encrypt

func (c *Cipher) Encrypt(src []byte) []byte

func (*Cipher) SetKey

func (c *Cipher) SetKey(v [16]byte)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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