Versions in this module Expand all Collapse all v0 v0.2.0 Mar 17, 2024 v0.0.1 Mar 17, 2024 Changes in this version + const DefaultBlockSize + type Aes128GcmEncoder struct + func (*Aes128GcmEncoder) Encrypt(salt []byte, localKey *ecdh.PrivateKey, p256dh []byte, auth []byte, ...) ([]byte, error) + func (e *Aes128GcmEncoder) EncryptPayload(p256dh []byte, auth []byte, data []byte) ([]byte, error) + type WebPushEncoder interface + EncryptPayload func(p256dh []byte, auth []byte, data []byte) ([]byte, error)