Click here to Skip to main content
11,496,146 members (1,531 online)
Click here to Skip to main content
Add your own
alternative version

An Analysis of the Windows PE Checksum Algorithm

, 7 Mar 2008 CPOL 88.8K 5.3K 94
An Analysis Demonstrating the PE Checksum is an Additive Checksum based on RFC 1071
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
crc32.zip
CRC32.exe
crc32source.zip
CRC32
CRC32
CRC32.suo
notepadaltered.zip
NOTEPAD.EXE
notepadoriginal.zip
NOTEPAD.EXE
pechecksum.zip
PEChecksum.exe
pechecksumsource.zip
PE Checksum
PEChecksum
res
Sample.ico
PEChecksum.suo
Sample.suo
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.                   
#define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
#endif						

#include <windows.h>
#include <tchar.h>

#include <iostream>

#ifdef UNICODE
#  define tcout wcout
#else
#  define tcout cout
#endif

#ifdef _DEBUG
#  pragma comment( lib, "cryptlibd" )
#else
#  pragma comment( lib, "cryptlib" )
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jeffrey Walton
Systems / Hardware Administrator
United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 8 Mar 2008
Article Copyright 2007 by Jeffrey Walton
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid