aes

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 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 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 (aes *AESCipher) Decode(src []byte) []byte

Decode src

func (*AESCipher) Encode

func (aes *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