WalletCore
WalletCore
/
wallet.core.jni
/
CryptoBoxPublicKey
Crypto
Box
Public
Key
class
CryptoBoxPublicKey
Public key used in `crypto_box` cryptography.
Constructors
Functions
Constructors
Crypto
Box
Public
Key
Link copied to clipboard
open
fun
CryptoBoxPublicKey
(
data
:
Array
<
Byte
>
)
Create a `crypto_box` public key with the given block of data.
Functions
data
Link copied to clipboard
open
fun
data
(
)
:
Array
<
Byte
>
Returns the raw data of the given public-key.
is
Valid
Link copied to clipboard
open
fun
isValid
(
data
:
Array
<
Byte
>
)
:
Boolean
Determines if the given public key is valid or not.