# Functions
DecodePacket decodes a packet and return the Packet with encrypted payload and signer's public key.
EncodePacket creates a Packet, encrypts the payload using the given private from key and the public to key, serializes the form and signs the bytes.
GetKeysFromPacket returns the ToHeaderPub field of the message in order, checks the packet checksum and recovers the public key.
JoinPackets a collection of Packets together.
No description provided by the author
No description provided by the author
SplitToPackets creates a series of packets including the defined Reed Solomon parameters for extra parity shards and the return encryption public key for a reply.
# Constants
Errors that can be thrown by methods in this package:.
Errors that can be thrown by methods in this package:.
Errors that can be thrown by methods in this package:.
Errors that can be thrown by methods in this package:.
Errors that can be thrown by methods in this package:.
Overhead is the base overhead on a packet, use GetOverhead to add any extra as found in a Packet.
todo: this is really not necessary I think.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author