We need someone capable of writing a? script (preferable php) that takes an RSA public key, some data, and a signature and validates the signature over the data with the key.
## Deliverables
Full Description of project:
We are in a? time crunch and? need someone to write in either php script or cgi script (if you have an idea for different code that will work with existing php, we will listen) ? that takes an RSA public key, some data, and a signature and validates the signature over the data with the key.
This programing will have? to base64 decode the header values that are sent for the key and the signature.
This will be placed into the existing php script that does the following:
1.? ? ? ? ? ? ? The user on iPhone finds hidden room and the app goes to? ***<[login to view URL]>? to collect a timestamp.
2.? ? ? ? ? ? ? Once you receive the time stamp you go to? ***<[login to view URL]>? with either a value in a header for**? **“Lucky-Day-Challenge-Response:?? or the “Lucky-Day-Key:??.******
*3.*? ? ? ? ? ? ? If? Lucky-Day-Challenge-Response has a value I look up the user in our database using the key, then I check if it is within the 31 days and if not, take the user to a page where he sees the prize he has won and has an option change his details (address etc.)
*4.*? ? ? ? ? ? ? If? Lucky-Day-Key has a value it is a new user so I take him directly to the area where he can fill in his data. Once he has filled in the data I store the key that was sent with his data in the database. I then redirect to? **<[login to view URL]>? at which time you will know that the key has been stored against the user in the database.**
5.? ? ? ? ? ? ? I then send the user to? ***<[login to view URL]>? which lets you know that the session is completed.
Again, everything is in place except for this script.
***
?
?
?
?
?
?
?
?
?
If you need further info, reply.
This project will need to be completed by 5pm 11/22/09