Click here to Skip to main content
15,894,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread exit codes Pin
Blake Miller12-May-05 11:12
Blake Miller12-May-05 11:12 
QuestionHow to get output of console program? Pin
Kuniva12-May-05 7:50
Kuniva12-May-05 7:50 
AnswerRe: How to get output of console program? Pin
Ravi Bhavnani12-May-05 8:10
professionalRavi Bhavnani12-May-05 8:10 
AnswerRe: How to get output of console program? Pin
David Crow12-May-05 8:11
David Crow12-May-05 8:11 
GeneralNeed help with reversing an algorithm Pin
Anonymous12-May-05 7:29
Anonymous12-May-05 7:29 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 7:50
professionalChris Losinger12-May-05 7:50 
GeneralRe: Need help with reversing an algorithm Pin
Anonymous12-May-05 8:05
Anonymous12-May-05 8:05 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 8:38
professionalChris Losinger12-May-05 8:38 
i'm not sure that's gonna do it either.

in the encoding, the information in the high 12 bits is combined with the low 16 bits through addition. seperating them is equivalent to finding which two numbers were added to produce "1234".

just for a test:

<br />
   UINT in = 0xffffffff;<br />
   TRACE("%in: s\n", BinDump((BYTE *)&in, 4));<br />
   UINT hid = get_human_check_id(in);<br />
   UINT out = get_human_check_id_rev(hid);<br />
   TRACE("out: %s\n", BinDump((BYTE *)&out, 4));<br />
<br />
outputs:<br />
in:  11111111 11111111 11111111 11111111 <br />
out: 00000001 00000000 01010000 00000000 <br />



Cleek | Image Toolkits | Thumbnail maker

GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 8:51
Tom Archer12-May-05 8:51 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 9:12
Tom Archer12-May-05 9:12 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 10:48
professionalChris Losinger12-May-05 10:48 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 10:56
Tom Archer12-May-05 10:56 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 11:11
professionalChris Losinger12-May-05 11:11 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 11:16
Tom Archer12-May-05 11:16 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 13:18
professionalChris Losinger12-May-05 13:18 
GeneralRe: Need help with reversing an algorithm Pin
Anonymous12-May-05 12:25
Anonymous12-May-05 12:25 
GeneralRe: Need help with reversing an algorithm Pin
Priyank Bolia12-May-05 7:50
Priyank Bolia12-May-05 7:50 
GeneralRe: Need help with reversing an algorithm Pin
Kuniva12-May-05 7:54
Kuniva12-May-05 7:54 
GeneralRe: Need help with reversing an algorithm Pin
Anonymous12-May-05 7:55
Anonymous12-May-05 7:55 
GeneralRe: Need help with reversing an algorithm Pin
Alexander M.,13-May-05 1:51
Alexander M.,13-May-05 1:51 
GeneralProblems using the new Platform SDK Pin
Kharfax12-May-05 7:18
Kharfax12-May-05 7:18 
GeneralRe: Problems using the new Platform SDK Pin
Alexander M.,12-May-05 7:25
Alexander M.,12-May-05 7:25 
GeneralRe: Problems using the new Platform SDK Pin
Kharfax12-May-05 7:33
Kharfax12-May-05 7:33 
GeneralRe: Problems using the new Platform SDK Pin
Kharfax12-May-05 7:43
Kharfax12-May-05 7:43 
GeneralRe: Problems using the new Platform SDK Pin
David Crow12-May-05 9:07
David Crow12-May-05 9:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.