generatePair method
Implementation
void generatePair(Random random) {
if (secretBits % 8 != 0) throw FormatException();
x = decodeBigInt(randBytes(random, secretBits ~/ 8));
e = g.modPow(x, p);
}
void generatePair(Random random) {
if (secretBits % 8 != 0) throw FormatException();
x = decodeBigInt(randBytes(random, secretBits ~/ 8));
e = g.modPow(x, p);
}