xaes

package
v0.0.0-...-9493ce7 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 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 AES

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

AES AES对象

func NewAES

func NewAES(key []byte) *AES

NewAES 工厂方法

func (*AES) Decrypt

func (object *AES) Decrypt(in []byte) (out []byte, err error)

Decrypt 解密

func (*AES) Encrypt

func (object *AES) Encrypt(in []byte) (out []byte, err error)

Encrypt 加密

func (*AES) SetIV

func (object *AES) SetIV(iv []byte) *AES

SetIV 设置IV向量

Jump to

Keyboard shortcuts

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