Documentation ¶ Index ¶ type Service func New() *Service func (s *Service) Decrypt(ciphertext string) (string, error) func (s *Service) Encrypt(plaintext string) (string, error) func (s *Service) Init(args ...services.Service) services.Service 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 New ¶ func New() *Service New 新建服务 func (*Service) Decrypt ¶ func (s *Service) Decrypt(ciphertext string) (string, error) Decrypt 解密 func (*Service) Encrypt ¶ func (s *Service) Encrypt(plaintext string) (string, error) Encrypt 加密 func (*Service) Init ¶ func (s *Service) Init(args ...services.Service) services.Service Init 初始化 Source Files ¶ View all Source files symcrypt.go Click to show internal directories. Click to hide internal directories.