public class Elg2KeyPair extends KeyPair
| Constructor and Description |
|---|
Elg2KeyPair(PublicKey publicKey,
PrivateKey privateKey,
byte[] enc)Key pair from the given keys and the pre-encoded public key. |
| Modifier and Type | Method and Description |
|---|---|
byte[] | getEncoded()The pre-calculated Elligator2-encoded public key. |
getPrivate, getPublicpublic Elg2KeyPair(PublicKey publicKey, PrivateKey privateKey, byte[] enc)
publicKey - the public keyprivateKey - the private keyenc - the encoded Elligator2 public key