crypt

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 AesGcmEncryptionService

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

func NewAesGcmEncryptionService

func NewAesGcmEncryptionService(key []byte) (*AesGcmEncryptionService, error)

func (*AesGcmEncryptionService) Decrypt

func (e *AesGcmEncryptionService) Decrypt(cipherText []byte) ([]byte, error)

func (*AesGcmEncryptionService) Encrypt

func (e *AesGcmEncryptionService) Encrypt(plainText []byte) ([]byte, error)

type Config

type Config struct {
	Key string
}

Jump to

Keyboard shortcuts

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