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)
Click to show internal directories.
Click to hide internal directories.