encryption

package
v0.0.0-...-b075d96 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

func NewClient

func NewClient() (c *Client)

func (*Client) DecryptAES

func (c *Client) DecryptAES(cipherData, secret []byte) (plainData []byte)

func (*Client) EncryptAES

func (c *Client) EncryptAES(plainData, secret []byte) (cipherData []byte)

func (*Client) GenerateRandomString

func (c *Client) GenerateRandomString(length int) (result string)

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

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