diff options
author | Azul <azul@riseup.net> | 2013-07-12 11:32:01 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-07-12 11:32:01 +0200 |
commit | 5c8a17447e382f9b9f9f241e293156a94162a1ca (patch) | |
tree | 78572472abff7e6d370e4271048a3fa9780212c6 /src/srp_calculate.js | |
parent | 926a5d5960db51903e33c8496487da59f9f41242 (diff) |
the 0 prefix in hex is essential for building the M and M2 strings
Diffstat (limited to 'src/srp_calculate.js')
-rw-r--r-- | src/srp_calculate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/srp_calculate.js b/src/srp_calculate.js index 8928114..93a4568 100644 --- a/src/srp_calculate.js +++ b/src/srp_calculate.js @@ -54,7 +54,7 @@ srp.Calculate = function() { }; this.hash = function(string) { - return removeLeading0(SHA256(string)); + return SHA256(string); }; |