Posts: 1,705
Threads: 52
Joined: Jun 2009
Reputation:
33
RE: Would like to join team
the c++ way of getting input from stdin is cin >> var;
thats why i was asking, scanf is the c way
also, it wouldnt work anyway, you didnt put Yes and No like "Yes" and "No"
also scanf requires a C string as its output, and a std:tring isnt writable unless using streams
Posts: 7
Threads: 1
Joined: Aug 2009
Reputation:
0
RE: Would like to join team
It doesn't help that I read a C book, based on my knowledge on that. Then moved on to C++ immediately after. I mix and match the code, and my compiler doesn't seem to care.
make me a php page that allows making user accounts
username = as entered in http form
passwordSalt = random string of letters
passwordHash generated as above using http form as password input
userIdent1 = unique sequential uint not bigger than 16777215
userIdent2 = unique sequential uint not bigger than 4294967295
using Crypto_RSA generate a RSA public/private key pair of 768 bits with publicExponent = 17 (i do not know if mxo will support any other kind of public exponent, but everything it does with RSA keys it uses public exponent 17)
so publicExponent in the database will always be 17
then store the publicModulus and privateExponent in the table (should be 96 byte binary data when generated)
Posts: 223
Threads: 28
Joined: Jun 2009
Reputation:
2
RE: Would like to join team
You need something in PHP for Web? i am your man for this
The old mxoemu page was done fast and short cause we had need a site, so i didnt spent much time and work in this (and so it wasnt good developed).
I have standard classes in php for mysql, user authentication that i used for my pages so its no big problem, to modify them (cause they dont used salted passwords).
Found RSA Class for PHP, will check this within the next days.