Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cox
master
Cox
Key
KeyPair
Nonce
PublicKey
SecretKey
SignKeyPair
SignPublicKey
SignSecretKey
Built with Crystal 1.9.2
2023-10-08 03:51:58 UTC
class
Cox::KeyPair
Cox::KeyPair
Reference
Object
Defined in:
cox/key_pair.cr
Constructors
.new
(pub : Bytes, sec : Bytes)
.new
(public : Cox::PublicKey, secret : Cox::SecretKey)
.new
Instance Method Summary
#public
: PublicKey
#public=
(public : PublicKey)
#secret
: SecretKey
#secret=
(secret : SecretKey)
Constructor Detail
def self.
new
(pub : Bytes, sec : Bytes)
#
[
View source
]
def self.
new
(public :
Cox::PublicKey
, secret :
Cox::SecretKey
)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
public
:
PublicKey
#
[
View source
]
def
public=
(public :
PublicKey
)
#
[
View source
]
def
secret
:
SecretKey
#
[
View source
]
def
secret=
(secret :
SecretKey
)
#
[
View source
]