crypto

package
v1.22.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 5 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESCipher added in v1.0.1

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

func AESCipherFromString added in v1.0.1

func AESCipherFromString(data string) (aesCipher *AESCipher, initErr error)

func NewAESCipher

func NewAESCipher() (*AESCipher, error)

func (*AESCipher) Decrypt added in v1.1.0

func (c *AESCipher) Decrypt(in []byte) (result []byte, err error)

func (*AESCipher) Encrypt added in v1.1.0

func (c *AESCipher) Encrypt(in []byte) []byte

func (*AESCipher) ToString added in v1.0.1

func (c *AESCipher) ToString() string

Jump to

Keyboard shortcuts

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