5aa37bf3747829cd75812b32d8a177dbae1ab834
DES/UNDES V1.1.0 source reconstruction — v2
This directory contains a revised C reconstruction of des.exe and
undes.exe after comparison with the original cryptl99.zip dependency.
Main files
des.c— reconstructed encryption programundes.c— reconstructed decryption programdes_common.c,des_common.h— reconstructed common supportreconstruction-notes.md— evidence, file format and remaining uncertaintycryptlib-api-map.md— exact CRYPTLIB 0.99 function mappingvalidation.md— build/round-trip sanity checkasm/— disassembly used for the reconstructionthird_party/cryptl99.zip— user-supplied original archivethird_party/cryptlib-0.99/— extracted dependency source
What changed from the first reconstruction
The supplied CRYPTLIB source resolves several earlier uncertainties and one important mistake:
- The real API names are lower-case (
initLibrary,queryAlgoModeInformation,retrieveIV, etc.). - The executable uses
CRYPT_ALGO_3DES, notCRYPT_ALGO_DES. - The mode is
CRYPT_MODE_CBC. - The effective queried key size is 14 bytes.
- The queried/stored IV is 4 bytes, not 8 bytes.
- The archive contains exactly libdes 3.14, matching the embedded executable version string.
Status
The control flow and file-format reconstruction is high confidence. The code is intended primarily as a faithful readable reconstruction. It has not been claimed to be byte-for-byte recompilable to the original executables because that would require the exact original compiler flags, source layout, linker configuration and original identifiers.
Languages
Assembly
78.7%
C
17.8%
CMake
3.5%