encryption

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESEncryptionService

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

func CreateAESEncryptionService

func CreateAESEncryptionService(key string) *AESEncryptionService

func (*AESEncryptionService) Decrypt

func (s *AESEncryptionService) Decrypt(cipherBase64 string) (string, error)

func (*AESEncryptionService) Encrypt

func (s *AESEncryptionService) Encrypt(plainText string) (string, error)

Jump to

Keyboard shortcuts

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