Versions in this module Expand all Collapse all v1 v1.0.2 Jul 29, 2021 v1.0.1 Jul 20, 2021 Changes in this version + type WorkwxEncryptor struct + func NewWorkwxEncryptor(encodingAESKey string, opts ...WorkwxEncryptorOption) (*WorkwxEncryptor, error) + func (e *WorkwxEncryptor) Decrypt(base64Msg []byte) (WorkwxPayload, error) + func (e *WorkwxEncryptor) Encrypt(payload *WorkwxPayload) (string, error) + type WorkwxEncryptorOption interface + func WithEntropySource(e io.Reader) WorkwxEncryptorOption + type WorkwxPayload struct + Msg []byte + ReceiveID []byte