diff options
author | Azul <azul@riseup.net> | 2012-10-04 11:23:00 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-10-04 11:41:53 +0200 |
commit | 0e5f57d3e07db606a779485e1537d4db8b5d3da2 (patch) | |
tree | 90733e690fac48da221f3fa7db04aa23ba5423b7 /lib/srp/util.rb | |
parent | 66c3ed01eb012cae84193b4864c7c48eb77c2a8c (diff) |
created session class to hold aa, bb and so forth - done for client
We have a session in the server already - duplication there now, merge next
Diffstat (limited to 'lib/srp/util.rb')
-rw-r--r-- | lib/srp/util.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/srp/util.rb b/lib/srp/util.rb index 087ce5d..50ff9bb 100644 --- a/lib/srp/util.rb +++ b/lib/srp/util.rb @@ -61,13 +61,6 @@ d15dc7d7b46154d6b6ce8ef4ad69b15d4982559b297bcf1885c529f566660e5 sha256_hex(BIG_PRIME_N.to_s(16), ghex).hex end - def calculate_m(aa, bb, s) - sha256_int(aa, bb, s).hex - end - - def calculate_u(aa, bb) - sha256_int(aa, bb).hex - end end end |