Documentation ¶
Index ¶
- type Service
- func (s *Service) DecryptCBC(key []byte, ciphertext []byte) ([]byte, error)
- func (s *Service) DecryptGCM(key []byte, ciphertext []byte) ([]byte, error)
- func (s *Service) EncryptCBC(key []byte, plaintext []byte) ([]byte, error)
- func (s *Service) EncryptGCM(key []byte, plaintext []byte) ([]byte, error)
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 (*Service) DecryptGCM ¶
func (*Service) EncryptCBC ¶
Click to show internal directories.
Click to hide internal directories.