crypto

package
v0.4.35 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESCryptor

type AESCryptor interface {
	CBCEncrypt(plaintext []byte) ([]byte, error)
	CBCDecrypt(ciphertext []byte) ([]byte, error)
	GCMEncrypt(plaintext, iv, aad []byte) ([]byte, error)
	GCMDecrypt(ciphertext, iv, aad []byte) ([]byte, error)
}

func NewAESCryptor

func NewAESCryptor(key []byte) AESCryptor

Jump to

Keyboard shortcuts

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