Documentation
¶
Overview ¶
Package keywheel implements Alpenhorn's keywheel construction.
Index ¶
- type UserDialTokens
- type Wheel
- func (w *Wheel) EraseKeys(round uint32)
- func (w *Wheel) Exists(username string) bool
- func (w *Wheel) IncomingDialTokens(myUsername string, round uint32, numIntents int) []*UserDialTokens
- func (w *Wheel) MarshalBinary() ([]byte, error)
- func (w *Wheel) OutgoingDialToken(username string, round uint32, intent int) *[32]byte
- func (w *Wheel) Put(username string, round uint32, secret *[32]byte)
- func (w *Wheel) Remove(username string)
- func (w *Wheel) SessionKey(username string, round uint32) *[32]byte
- func (w *Wheel) UnmarshalBinary(data []byte) error
- func (w *Wheel) UnsafeGet(username string) (round uint32, secret *[32]byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserDialTokens ¶
type Wheel ¶
type Wheel struct {
// contains filtered or unexported fields
}
func (*Wheel) IncomingDialTokens ¶
func (w *Wheel) IncomingDialTokens(myUsername string, round uint32, numIntents int) []*UserDialTokens
func (*Wheel) MarshalBinary ¶
func (*Wheel) OutgoingDialToken ¶
func (*Wheel) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.