aes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewAesService

func NewAesService(pkcs7Service pkcs7Service) *Service

func (*Service) DecryptCBC

func (s *Service) DecryptCBC(key []byte, ciphertext []byte) ([]byte, error)

func (*Service) DecryptGCM

func (s *Service) DecryptGCM(key []byte, ciphertext []byte) ([]byte, error)

func (*Service) EncryptCBC

func (s *Service) EncryptCBC(key []byte, plaintext []byte) ([]byte, error)

func (*Service) EncryptGCM

func (s *Service) EncryptGCM(key []byte, plaintext []byte) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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