Versions in this module Expand all Collapse all v0 v0.0.2 Dec 25, 2025 Changes in this version type Service + func (s *Service) SymmetricallyDecrypt(passphrase, ciphertext []byte) ([]byte, error) v0.0.1 Nov 14, 2025 Changes in this version + type Service struct + func NewService() *Service + func (s *Service) Decrypt(privateKey, ciphertext []byte) ([]byte, error) + func (s *Service) Encrypt(publicKey, data []byte) ([]byte, error) + func (s *Service) GenerateKeyPair(name, email, comment string) (publicKey, privateKey []byte, err error) + func (s *Service) Sign(privateKey, data []byte) ([]byte, error) + func (s *Service) SymmetricallyEncrypt(passphrase, data []byte) ([]byte, error) + func (s *Service) Verify(publicKey, data, signature []byte) error