aes

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

type Cipher interface {
	Init()
	Encrypt(src string) (string, error)
	Decrypt(src string) (string, error)
}

Cipher interface declares Init(), Encrypyt(), Decrypyt() methods

type HWAESCipher added in v1.5.1

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

HWAESCipher is a cipher used in huawei

func (*HWAESCipher) Decrypt added in v1.5.1

func (ac *HWAESCipher) Decrypt(src string) (string, error)

Decrypt is method used for decryption

func (*HWAESCipher) Encrypt added in v1.5.1

func (ac *HWAESCipher) Encrypt(src string) (string, error)

Encrypt is method used for encryption

Jump to

Keyboard shortcuts

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