Well i don't know what language that was programmed in, but heres my stab at it:
Quote:
CUserManager objUsrMgr;
String * struser = S"newuser";
String * struserpass = S"password";
objUsrMgr.CreateLogin(struser, struserpass);
Here it looks like they are creating two strings, struser and struserpass
But at the start and after this they have strUserName and strPassword
Quote:
void CreateLogin(String * strUserName, String * strPassword);
Quote:
void CUserManager::CreateLogin(String * strUserName, String * strPassword)
However also near the end with the Password Hash they call it byteHash, but then it looks like they are trying to then add to the DB as bytePasswordHash
Quote:
Byte byteHash[] = pSha1->ComputeHash(bytePassword);
Quote:
void CUserManager::AddLoginToDB(String * strUserName, Byte bytePasswordHash [])
Well is any of it close?
Like i said i don't even recognise the language, so i'm just looking at it and using my knowledge of other languages to try and understand what is happening...
Edit: Oh also did notice what looks like an eroneous ; on the sixth line down, the ine that reads: