key_pair.go 205 B

12345678
  1. package curve
  2. type KeyPair interface {
  3. KeyPrivate() KeyPrivate
  4. KeyPublic() KeyPublic
  5. MessageEncode(data []byte, args ...any) (Message, error)
  6. MessageDecode(mes Message, args ...any) ([]byte, error)
  7. }