icrypto

package
v0.0.0-...-0f0d126 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iaes

type Iaes struct {
	Key []byte //可以是16位,24位,32位
	Iv  []byte //必须为16位
}

func (*Iaes) Decrypt

func (ia *Iaes) Decrypt(base64string string) ([]byte, error)

Decrypt 解密数据

func (*Iaes) Encrypt

func (ia *Iaes) Encrypt(Data string) ([]byte, error)

Encrypt 加密数据,返回一个base64类型的string

Jump to

Keyboard shortcuts

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