encryption

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

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AesECB

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

func NewAesECB

func NewAesECB(key []byte) (*AesECB, error)

func (*AesECB) Decrypt

func (a *AesECB) Decrypt(cipherText []byte) ([]byte, error)

func (*AesECB) Encrypt

func (a *AesECB) Encrypt(plainText []byte) ([]byte, error)

type NoOp

type NoOp struct{}

func NewNoOp

func NewNoOp() *NoOp

func (*NoOp) Decrypt

func (n *NoOp) Decrypt(ciphertext []byte) ([]byte, error)

func (*NoOp) Encrypt

func (n *NoOp) Encrypt(plaintext []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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