aes

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 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

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

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

type HWAESCipher

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

HWAESCipher is a cipher used in huawei

func (*HWAESCipher) Decrypt

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

Decrypt is method used for decryption

func (*HWAESCipher) Encrypt

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