| 102 | } |
| 103 | |
| 104 | void RemotePassword::genClientKey(string& pubkey) |
| 105 | { |
| 106 | dumpIt("privateKey(C)", privateKey); |
| 107 | clientPublicKey = group->generator.modPow(privateKey, group->prime); |
| 108 | clientPublicKey.getText(pubkey); |
| 109 | dumpIt("clientPublicKey", clientPublicKey); |
| 110 | } |
| 111 | |
| 112 | void RemotePassword::genServerKey(string& pubkey, const Firebird::UCharBuffer& verifier) |
| 113 | { |