| Modifier and Type | Field and Description |
|---|---|
EasyBox.PublicKey |
publicKey |
EasyBox.SecretKey |
secretKey |
| Modifier and Type | Method and Description |
|---|---|
static EasyBox.KeyPair |
deterministic(net.openhft.chronicle.bytes.BytesStore seed)
Returns a new generated deterministic public/private key pair from BytesStore accessing full 32 seed bytes
|
static EasyBox.KeyPair |
deterministic(long id)
Returns a new generated deterministic public/private key pair from simple long id (which only uses 8 out of 32 seed bytes)
|
static EasyBox.KeyPair |
generate()
Returns a new generated random public/private key pair.
|
void |
wipe()
Safely wipes the memory backing the secret part of this key pair when finished.
|
public final EasyBox.PublicKey publicKey
public final EasyBox.SecretKey secretKey
public static EasyBox.KeyPair generate()
public static EasyBox.KeyPair deterministic(long id)
id - - deterministic seedpublic static EasyBox.KeyPair deterministic(net.openhft.chronicle.bytes.BytesStore seed)
seed - - deterministic BytesStore seed, which should be at least 32 bytespublic void wipe()
Copyright © 2023. All rights reserved.