Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBlockSize = 128
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aes128GcmEncoder ¶
type Aes128GcmEncoder struct{}
func (*Aes128GcmEncoder) Encrypt ¶
func (*Aes128GcmEncoder) Encrypt( salt []byte, localKey *ecdh.PrivateKey, p256dh []byte, auth []byte, padSize int, data []byte, ) ([]byte, error)
func (*Aes128GcmEncoder) EncryptPayload ¶
Click to show internal directories.
Click to hide internal directories.