Versions in this module Expand all Collapse all v0 v0.2.1 Oct 29, 2020 v0.2.0 Jul 21, 2020 Changes in this version + func Perform3DH(longtermIdentity *Identity, ephemeralIdentity *Identity, ...) ([32]byte, error) + type Identity struct + Name string + func InitializeEphemeralIdentity() (Identity, ed25519.PrivateKey) + func InitializeIdentity(name string, pk *ed25519.PrivateKey, pubk *ed25519.PublicKey) Identity + func (i *Identity) EDH(key ed25519.PublicKey) ([]byte, error) + func (i *Identity) Hostname() string + func (i *Identity) PublicKey() ed25519.PublicKey + func (i *Identity) PublicKeyBytes() []byte + func (i *Identity) Sign(input []byte) []byte