Documentation ¶
Overview ¶
Package senderkey defines the keys required to send and receive encrypted messages in a group.
Index ¶
Constants ¶
View Source
const (
ChainKeySize = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainKey ¶
type ChainKey struct {
// contains filtered or unexported fields
}
func NewChainKey ¶
func (ChainKey) MessageKey ¶
func (c ChainKey) MessageKey() (MessageKey, error)
type MessageKey ¶
type MessageKey struct {
// contains filtered or unexported fields
}
func DeriveMessageKey ¶
func DeriveMessageKey(seed []byte, iteration uint32) (MessageKey, error)
func (MessageKey) CipherKey ¶
func (m MessageKey) CipherKey() []byte
func (MessageKey) IV ¶
func (m MessageKey) IV() []byte
func (MessageKey) Iteration ¶
func (m MessageKey) Iteration() uint32
func (MessageKey) Seed ¶
func (m MessageKey) Seed() []byte
Click to show internal directories.
Click to hide internal directories.