keyPair static method
Implementation
static KeyPair keyPair() {
KeyPair kp = new KeyPair(publicKeyLength, secretKeyLength);
TweetNaclFast.crypto_box_keypair(kp.publicKey, kp.secretKey);
return kp;
}
static KeyPair keyPair() {
KeyPair kp = new KeyPair(publicKeyLength, secretKeyLength);
TweetNaclFast.crypto_box_keypair(kp.publicKey, kp.secretKey);
return kp;
}