PSP Hacks - Forums
Go Back   PSP Hacks - Forums > Tech Talk > PC Programming

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2008, 07:33 PM
RainMotorsports's Avatar
RainMotorsports RainMotorsports is offline
Programmer
PSP Guru
 
Join Date: May 2008
Location: 0x00Serbia
Posts: 1,795
RainMotorsports User Has a Beginner Reputation
Default CRC32 Versus Another Hash like MD5

Im working on Rain's MMS Maker 2.0 (and Simple MMS Maker 1.3) and originally i just CRC32'd the eboots. Now with files this small is there any need to use MD5 checksums instead? I didnt know if the main reason for using MD5 was for hash collisions with large files?

I also dont see a point in it due to hashing all the eboots now in existance and not running into any collisions lol. But if im gonna switch the time is now because im writing a code object for the check.
Reply With Quote
  #2  
Old 09-26-2008, 11:52 AM
lordcorm lordcorm is offline
PSP Smarty
 
Join Date: Dec 2006
Location: Hyde Park, Utah
Posts: 130
lordcorm User Has a Beginner Reputation
Default

stick with a CRC32, its more efficient, and is smaller.
Reply With Quote
  #3  
Old 09-28-2008, 05:53 AM
ZiNgABuRgA's Avatar
ZiNgABuRgA ZiNgABuRgA is offline
Moderator
PSP Titan
 
Join Date: Sep 2006
Location: 4CHIN
Posts: 10,405
ZiNgABuRgA can only hope to improve
Default

MD5 and SHA1 are mainly used for security purposes (note that MD5 has already been "cracked"). CRC32 is only meant to be used as a simple checksum, not to protect against spoofing attacks.

From what I can tell, you don't need the security offered by SHA1.
Reply With Quote
Reply

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:44 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©