Class: Nostr::PrivateKey
Overview
32-bytes lowercase hex-encoded private key
Constant Summary
Constants inherited from Key
Class Method Summary collapse
-
.hrp ⇒ String
private
Human-readable part of the Bech32 encoded address.
Methods inherited from Key
from_bech32, #initialize, #to_bech32
Constructor Details
This class inherits a constructor from Nostr::Key
Class Method Details
.hrp ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Human-readable part of the Bech32 encoded address
12 13 14 |
# File 'lib/nostr/private_key.rb', line 12 def self.hrp 'nsec' end |