14 lines
274 B
Plaintext
14 lines
274 B
Plaintext
# Classes
|
|
module Nostr
|
|
class KeyPair
|
|
attr_reader private_key: PrivateKey
|
|
attr_reader public_key: PublicKey
|
|
|
|
def initialize: (private_key: PrivateKey, public_key: PublicKey) -> void
|
|
|
|
private
|
|
|
|
def validate_keys: (PrivateKey, PublicKey) -> void
|
|
end
|
|
end
|