Versions in this module Expand all Collapse all v1 v1.1.0 Jul 1, 2024 Changes in this version + var ErrCryptoNotInitialized = errors.New("srp/header: header crypto has not been initialized") + var ErrHeaderSizeTooLarge = errors.New("srp/header: header size is too large") + type WrathHeader struct + func (h *WrathHeader) Decrypt(data []byte) error + func (h *WrathHeader) Encode(opcode uint16, size uint32) ([]byte, error) + func (h *WrathHeader) Encrypt(data []byte) error + func (h *WrathHeader) Init(sessionKey []byte) error + func (h *WrathHeader) InitKeys(sessionKey, decryptKey, encryptKey []byte) error