aes

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 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 AESCipher

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

AESCipher one of Encryptor implement

func NewAESCipher

func NewAESCipher(key string) *AESCipher

NewAESCipher return a AESCipher

func (*AESCipher) Decode

func (cipher *AESCipher) Decode(src []byte) []byte

Decode src

func (*AESCipher) Encode

func (cipher *AESCipher) Encode(src []byte) []byte

Encode src

Jump to

Keyboard shortcuts

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