diff options
-rw-r--r-- | lib/srp.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,6 +42,11 @@ function SRP() return I; }; + // some 16 byte random number + this.salt = function() { + return new BigInteger(64, rng).toString(16); + } + // Returns the XMLHttpRequest object this.getxhr = function() { |