Versions in this module Expand all Collapse all v1 v1.5.5 Jul 13, 2021 Changes in this version + type EncryptionModule struct + PrivateKey *dhkx.DHKey + func NewEncryptionModule() *EncryptionModule + func (em *EncryptionModule) CompleteKeyExchange(key []byte) error + func (em *EncryptionModule) Decrypt(emsg *drshproto.EncryptedSessionMessage) ([]byte, error) + func (em *EncryptionModule) Encrypt(data []byte) (*drshproto.EncryptedSessionMessage, error) + func (em *EncryptionModule) FreePrivateKeys() + func (em *EncryptionModule) PrepareKeyExchange() error + func (em *EncryptionModule) WaitForKeyExchange()