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