package curve type KeyPair interface { KeyPrivate() KeyPrivate KeyPublic() KeyPublic MessageEncode(data []byte) (Message, error) MessageDecode(Message) ([]byte, error) }