aes

package
v0.0.0-...-6421233 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 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 EncryptionService

type EncryptionService struct {
	Key []byte
}

func (*EncryptionService) Decrypt

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

func (*EncryptionService) DecryptString

func (s *EncryptionService) DecryptString(ciphertext string) ([]byte, error)

func (*EncryptionService) Encrypt

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

func (*EncryptionService) EncryptToString

func (s *EncryptionService) EncryptToString(plaintext []byte) (string, error)

Jump to

Keyboard shortcuts

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