Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsensusCipher ¶
func ConsensusKey ¶
func ConsensusKey(local crypto.PrivateKey, remote crypto.Token) []byte
func NewEphemeralKey ¶
func NewEphemeralKey() (crypto.PrivateKey, crypto.Token)
Types ¶
type Party ¶
type Party struct {
// contains filtered or unexported fields
}
func NewEphemeralRequest ¶
func NewEphemeralRequest() *Party
func NewEphemeralResponse ¶
func (*Party) CipherNonce ¶
func (p *Party) CipherNonce() crypto.CipherNonce
func (*Party) IncorporateResponse ¶
Directories
¶
Path | Synopsis |
---|---|
Package curve25519 provides an implementation of the X25519 function, which performs scalar multiplication on the elliptic curve known as Curve25519.
|
Package curve25519 provides an implementation of the X25519 function, which performs scalar multiplication on the elliptic curve known as Curve25519. |
internal/field
Package field implements fast arithmetic modulo 2^255-19.
|
Package field implements fast arithmetic modulo 2^255-19. |
Click to show internal directories.
Click to hide internal directories.