[Solved] Could someone provide pseudocode for this please? [closed]


So the pseudocode for this function is roughly like this:

function checksum(DATA)
    RESULT = 0xA50F74FF;
    for each DWORD in DATA do
        RESULT = RESULT xor DWORD
    return RESULT

where DWORD is a four-byte integer value.

The function is actually going though (almost) all of the data (not 25%) but it’s doing it in 4-byte increments that’s why the length which is in bytes is divided by 4.

2

solved Could someone provide pseudocode for this please? [closed]