![phoenix](https://d1a29h5kxv3oc2.cloudfront.net/dist/img/phoenix.81914efc7207f6a059bd10f5d3fd5f89.png)
Convert javascript to c# (encryption knowledge)for login session
- or -
Post a project like this1618
£250(approx. $322)
- Posted:
- Proposals: 5
- Remote
- #2686476
- OPPORTUNITY
- PRE-FUNDED
- Awarded
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
Convert javascript to c# .netstandard library (encryption knowledge required) that will simulate login session
Convert the javascript method and dependencies of
srp.identify("/authenticate", $("#srp_username")[0].value, password);
to c# .netstandard class library.
specifically need to calculate the two captured fiddler server client messages of /authenticate
http values of
Message 1 outgoing client->server parameters for first "/authenticate"
CSRFtoken - Given/known
I - Given/known (username)
A - Unknown, Needs calculcated from javascript. uses encryption.
Response = Encryption parameters? Salt and Key maybe to be used to calculate M (message)? not sure.
s -
B -
Message 2 outgoing client->server parameters for second "/authenticate"
CSRFtoken - Given/known
M - Uknown, Needs calculated from javascript into c# methods, uses encryption.
Message 2 response from server indicates success or not.
After conversion that genertes success response.
Server unavailable for testing against. I will aim to try and get this online to use as test if possible.
At present not available.
Encryption, use c# standard libraries where possible. system.cytpography.
Encryption looks like Sha256 or 512.
Included a c# project with login session boiler plate code for driving test for login session.
Please add c# code to complete the project.
Main methods to convert are in the javascript file found in spec file srp-min.js
Included contents in a file : SrbFile.txt
Have a previous marked up file that may help with key methods
needed with text additions from solution I tried: SrbFileMarkup.txt
I can test out any solutions to check solution working passing/failing.
Fiddler file contains 1st a successful login, and 2nd batch of Authenticate a failed password attempt.
You will need to install telerik fiddler to read capture file to get javascript you need to convert.
Further similar work available within next week of a completed solution.
Attached c# test project for you to add/expand to.
Convert the javascript method and dependencies of
srp.identify("/authenticate", $("#srp_username")[0].value, password);
to c# .netstandard class library.
specifically need to calculate the two captured fiddler server client messages of /authenticate
http values of
Message 1 outgoing client->server parameters for first "/authenticate"
CSRFtoken - Given/known
I - Given/known (username)
A - Unknown, Needs calculcated from javascript. uses encryption.
Response = Encryption parameters? Salt and Key maybe to be used to calculate M (message)? not sure.
s -
B -
Message 2 outgoing client->server parameters for second "/authenticate"
CSRFtoken - Given/known
M - Uknown, Needs calculated from javascript into c# methods, uses encryption.
Message 2 response from server indicates success or not.
After conversion that genertes success response.
Server unavailable for testing against. I will aim to try and get this online to use as test if possible.
At present not available.
Encryption, use c# standard libraries where possible. system.cytpography.
Encryption looks like Sha256 or 512.
Included a c# project with login session boiler plate code for driving test for login session.
Please add c# code to complete the project.
Main methods to convert are in the javascript file found in spec file srp-min.js
Included contents in a file : SrbFile.txt
Have a previous marked up file that may help with key methods
needed with text additions from solution I tried: SrbFileMarkup.txt
I can test out any solutions to check solution working passing/failing.
Fiddler file contains 1st a successful login, and 2nd batch of Authenticate a failed password attempt.
You will need to install telerik fiddler to read capture file to get javascript you need to convert.
Further similar work available within next week of a completed solution.
Attached c# test project for you to add/expand to.
![Stuart G.](https://www.peopleperhour.com/imgs/default_avatar_light_70x70.png)
Stuart G.
100% (5)Projects Completed
5
Freelancers worked with
5
Projects awarded
86%
Last project
16 Feb 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies