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::SignKeyPair
Cox::SignKeyPair
Reference
Object
Defined in:
cox/sign_key_pair.cr
Constructors
.new
(pub : Bytes, sec : Bytes)
.new
(public : Cox::SignPublicKey, secret : Cox::SignSecretKey)
.new
Instance Method Summary
#public
: SignPublicKey
#public=
(public : SignPublicKey)
#secret
: SignSecretKey
#secret=
(secret : SignSecretKey)
Constructor Detail
def self.
new
(pub : Bytes, sec : Bytes)
#
[
View source
]
def self.
new
(public :
Cox::SignPublicKey
, secret :
Cox::SignSecretKey
)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
public
:
SignPublicKey
#
[
View source
]
def
public=
(public :
SignPublicKey
)
#
[
View source
]
def
secret
:
SignSecretKey
#
[
View source
]
def
secret=
(secret :
SignSecretKey
)
#
[
View source
]