Documentation ¶
Index ¶
Constants ¶
View Source
const HMAC_SIZE = 32
Variables ¶
This section is empty.
Functions ¶
func DecodePacket ¶
DecodePacket takes a blob of data, validates it, and decodes it into a protobuf packet. hkey is used to create a keyed Blake2b hash packets are rejected if their message authentication code is invalid
Types ¶
type CryptoError ¶
func (*CryptoError) Error ¶
func (c *CryptoError) Error() string
Click to show internal directories.
Click to hide internal directories.