key_pair.go 267 B

1234567891011
  1. package curve
  2. import "git.ali33.ru/fcg-xvii/go-tools/json"
  3. type KeyPair interface {
  4. KeyPrivate() KeyPrivate
  5. KeyPublic() KeyPublic
  6. MessageEncode(data []byte, args ...any) (Message, error)
  7. MessageDecode(mes Message, args ...any) ([]byte, error)
  8. Map() json.Map
  9. }