Changes between Version 53 and Version 54 of HashSourceCodes
- Timestamp:
- Apr 11, 2014, 6:45:13 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HashSourceCodes
v53 v54 4 4 Hash code is based on [http://sourceforge.net/projects/guliverkli/ Media Player Classic]. In natural language it calculates: size + 64bit chksum of the first and last 64k (even if they overlap because the file is smaller than 128k). On opensubtitles.org is movie file size limited to '''9000000000 > $moviebytesize > 131072 bytes''', if is there any reason to change these sizes, let us know. Licence of [http://guliverkli.svn.sourceforge.net/viewvc/guliverkli/ hashing source codes] is [http://sourceforge.net/projects/guliverkli/ GPL]. Source codes was tested on Little Endian - DEC, Intel and compatible 5 5 6 Feel free to edit/add source-codes if you have faster/better implementation. Also don't forget to check, if hash is right for test. Test these 2 files please to ensure your algo is completely OK:6 Feel free to edit/add source-codes if you have faster/better implementation. Also don't forget to check, if hash is right for test. '''Test these 2 files please to ensure your algo is completely OK''' (otherwise you can poison the database and that nobody wants): 7 7 * [http://www.opensubtitles.org/addons/avi/breakdance.avi AVI file] (12 909 756 bytes) 8 8 * hash: '''8e245d9679d31e12'''