We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 159d5af commit aca9dbdCopy full SHA for aca9dbd
src/srp/srpClient.ts
@@ -25,13 +25,9 @@ export class SrpClient {
25
private group: SrpGroup | null = null;
26
private badState = false;
27
28
- constructor(group: SrpGroup, v: BigInteger, k?: BigInteger) {
29
- this.newSrp(group, v, k);
30
- }
31
-
32
- private newSrp(group: SrpGroup, xORv: BigInteger, k?: BigInteger) {
+ constructor(group: SrpGroup, x: BigInteger, k?: BigInteger) {
33
this.group = group;
34
- this.x = xORv;
+ this.x = x;
35
if (k) {
36
this.k = k;
37
} else {
0 commit comments