services

package
v0.0.0-...-c13952d Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupExpiredMessages

func CleanupExpiredMessages()

func CleanupViewedMessages

func CleanupViewedMessages()

Types

type EncryptionService

type EncryptionService struct{}

func NewEncryptionService

func NewEncryptionService() *EncryptionService

func (*EncryptionService) Decrypt

func (es *EncryptionService) Decrypt(ciphertext []byte) ([]byte, error)

func (*EncryptionService) Encrypt

func (es *EncryptionService) Encrypt(plaintext []byte) ([]byte, error)

func (*EncryptionService) EncryptWithMasterKey

func (es *EncryptionService) EncryptWithMasterKey(plaintext []byte) ([]byte, error)

func (*EncryptionService) GenerateAESKey

func (es *EncryptionService) GenerateAESKey() ([]byte, error)

Jump to

Keyboard shortcuts

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