Documentation
¶
Overview ¶
Package fingerprint defines a protocol user's unique fingerprint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Displayable ¶
type Displayable struct {
// contains filtered or unexported fields
}
Displayable represents a string representation of a fingerprint.
func NewDisplayable ¶
func NewDisplayable(local, remote []byte) (*Displayable, error)
NewDisplayable creates a new displayable fingerprint.
func (*Displayable) String ¶
func (d *Displayable) String() string
type Fingerprint ¶
type Fingerprint struct {
// contains filtered or unexported fields
}
Fingerprint represents a user's unique fingerprint.
func New ¶
func New( version, iterations uint32, localID []byte, localKey identity.Key, remoteID []byte, remoteKey identity.Key, ) (*Fingerprint, error)
New creates a new fingerprint.
func (*Fingerprint) String ¶
func (f *Fingerprint) String() string
type Scannable ¶
type Scannable struct {
// contains filtered or unexported fields
}
Scannable represents a fingerprint to be displayed on a QR code.
func NewScannable ¶
NewScannable creates a new scannable fingerprint.
Click to show internal directories.
Click to hide internal directories.