CD-ROM Digest MD5

CD-ROM Digest MD5 is a quick and dirty program to compute checksum of individual track.
Download

CD-ROM Digest MD5 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Yann Droneaud
  • Publisher web site:
  • http://projects.meuh.org/cd5/

CD-ROM Digest MD5 Tags


CD-ROM Digest MD5 Description

CD-ROM Digest MD5 is a quick and dirty program to compute checksum of individual track. CD-ROM Digest MD5 is a quick and dirty program to compute checksum of individual track.It reports for each track:· size (read)· MD5 digestSupports:· multi track CD-ROM· mode 1· Linux ioctl()· libmhashDoesn't support:· DVD· Audio CD· Multi session· Other operating systemKnown problem:· Track are often bigger than the data written inside· The program will report an error at the end of the data· I don't know the way to detect the end of data.· The checksum is good, and the size too.Be aware:· Track shorter than 4s -> 300 frames -> 614400 bytes are padded· To check the checksum, pad the img/iso file to 614400 and run md5sumRequirements:· libmhash, or port it to OpenSSL, Gcrypt or other.Build:Run "make" orgcc -W -Wall cd5.c -o cd5 -lmhashExample:$ ./cd5Track 1 to 3 (3 tracks)ioctl(/dev/cdrom, CDROMREADMODE1(1277)) failed: Input/output errorTrack 1, data, 0 + 1429 | 2615296 22597f64d164d509ef988b4ae97d3ad2ioctl(/dev/cdrom, CDROMREADMODE1(1729)) failed: Input/output errorTrack 2, data, 1429 + 452 | 614400 c8605c7db3dd78fba70c2030d339f22bioctl(/dev/cdrom, CDROMREADMODE1(4001)) failed: Input/output errorTrack 3, data, 1881 + 2272 | 4341760 8084e5945813a02415d08fb027d9ea97For the ioctl() errors, see above.Just check that track size match ISO file size (except for file under614400 bytes). One rule: if digest mismatch there's an error.


CD-ROM Digest MD5 Related Software