utils

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Utils

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

func NewUtils

func NewUtils() *Utils

func (*Utils) Decrypt

func (u *Utils) Decrypt(data string) ([]byte, error)

Decrypt decrypts the given data using AES encryption.

func (*Utils) Encrypt

func (u *Utils) Encrypt(data []byte) (string, error)

Encrypt encrypts the given data using AES encryption.

Jump to

Keyboard shortcuts

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