|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 13:47
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
Freebase
|
Post subject: VB.NET SteamPWD Posted: 07 Apr 2008 08:02 |
|
Joined: 07 Apr 2008 07:59 Posts: 1
|
I've been in the process of converting STEAMPWD to VB.NET for use in my own application. Using the app as reference, and the details in the Delphi topic I've gotten it to output the password, but there's a problem.
Essentially, as an example, if the password is badpassword11, then the padding length byte, the padding bytes, and the password get printed, however only the character portions of it print correctly(ie badpassword) the remainder prints out as garbage characters.
My only thought is that my character encoding is wrong, but I've tried all the available ones I know of in VB, any ideas?
|
|
Top |
|
|
|
|
|
|
|
aluigi
|
Post subject: Posted: 07 Apr 2008 10:12 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
if you have used the AES solution this is probably caused by the problem I explained in that topic.
In short the AES CFB applied by crypto++ uses the XORing method normally used in the decryption for the encryption... so you must modify the source code of your AES function inverting that part as I did for steampwd in aes_inverted.c, from:
if( mode == AES_ENCRYPT )
to:
if( mode != AES_ENCRYPT ) // inverted!!!
|
|
Top |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|