aesx

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 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 Cipher added in v0.1.12

type Cipher interface {
	// Encrypt 加密
	Encrypt(plaintext, key []byte) ([]byte, error)

	// Decrypt 解密
	Decrypt(ciphertext, key []byte) ([]byte, error)
}

Cipher 加密解密接口

func CBC added in v0.1.12

func CBC() Cipher

func CFB added in v0.1.12

func CFB() Cipher

func CTR added in v0.1.12

func CTR() Cipher

func ECB added in v0.1.12

func ECB() Cipher

func OFB added in v0.1.12

func OFB() Cipher

Jump to

Keyboard shortcuts

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