954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Cryptography prob

Hi there im making a PHP website for this game and the passwords it use are like this

0x7BF1EA5EBADD9D7DD2D43E25ABEBCD100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000   which translates into "999momo999"

any idea what sort of cryptography that might be?
the pass itself is stored in a MSSQL DB and the column type is BINARY(60)

thanks for any info

lttleastig
Junior Poster in Training
51 posts since Nov 2010
Reputation Points: 14
Solved Threads: 0
 
any idea what sort of cryptography that might be?


The zero padding suggests a block cipher of some sort. If you're trying to generate passwords that are accepted by the game or decrypt passwords from the game, you're looking at some serious cryptanalysis. Not only do you need to figure out the algorithm the game uses, you also need to determine the key(s), salting schemes, initialization vectors, and pre/post hashing. If the game uses anything remotely strong, it's probably going to be an impractical venture.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

yeah im trying to generate passwords accepted by the game....
any tuts you could refer?

lttleastig
Junior Poster in Training
51 posts since Nov 2010
Reputation Points: 14
Solved Threads: 0
 

HashBytes('MD5', REVERSE(UPPER(@ID)) + @PW)

found that in the stored procedures would that make any sense?

lttleastig
Junior Poster in Training
51 posts since Nov 2010
Reputation Points: 14
Solved Threads: 0
 

thanks for the reply dude I finally solved my prob by using a stored procedure in the DB to register users it turned out that it had the encryption in there thanks

lttleastig
Junior Poster in Training
51 posts since Nov 2010
Reputation Points: 14
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You