Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodedPayloadData ¶ added in v1.0.2
type EncodedPayloadData struct { Sender []byte Nonce []byte Cipher []byte RecipientNonce []byte RecipientList [][]byte }
EncodedPayloadData holds the encoded payload data (sender,nonce,cipher,recipientNonce and list)
func EncodePayloadData ¶
func EncodePayloadData(payload []byte, sender []byte, recipients [][]byte) (*EncodedPayloadData, error)
EncodePayloadData encode payload data
func (*EncodedPayloadData) Decode ¶ added in v1.0.2
func (e *EncodedPayloadData) Decode(to []byte) []byte
Decode will decode
func (*EncodedPayloadData) Serialize ¶ added in v1.0.2
func (e *EncodedPayloadData) Serialize() *[]byte
Serialize obj
Click to show internal directories.
Click to hide internal directories.