diff options
author | Azul <azul@leap.se> | 2012-06-28 19:43:40 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-06-29 14:55:10 +0200 |
commit | 20bf14939fbd75e3ee0206c2bf14737e2c7ac2c2 (patch) | |
tree | e035c91c65e8e48d6a6af317e900a8fb9897a739 /example/views/layout.erb | |
parent | e55ff681bcc5a6c479530d1411a3da75912d78e5 (diff) |
adopted srp algo to srp-js way of doing things.
all large integers are now send as hex strings.
Using sha256_str all over the place.
This finally gives me successful logins. Needs a log of cleanup never the less.
Diffstat (limited to 'example/views/layout.erb')
-rw-r--r-- | example/views/layout.erb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/example/views/layout.erb b/example/views/layout.erb index f4eae0a..fc0eaf1 100644 --- a/example/views/layout.erb +++ b/example/views/layout.erb @@ -22,8 +22,16 @@ <%= yield %> <script type="text/javascript" src="jquery.min.js"> </script> - <script type="text/javascript" src="srp.min.js"> </script> - <script type="text/javascript" src="srp_register.min.js"> </script> +<!-- <script type="text/javascript" src="srp.min.js"> </script> +<script type="text/javascript" src="srp_register.min.js"> </script> --> + + <script type="text/javascript" src="srp-source/SHA256.js"> </script> + <script type="text/javascript" src="srp-source/prng4.js"> </script> + <script type="text/javascript" src="srp-source/rng.js"> </script> + <script type="text/javascript" src="srp-source/jsbn.js"> </script> + <script type="text/javascript" src="srp-source/jsbn2.js"> </script> + <script type="text/javascript" src="srp-source/srp.js"> </script> + <script type="text/javascript" src="srp-source/srp_register.js"> </script> <script type="text/javascript" src="srp.js"> </script> </body> |