We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/r-salas/oshash
This is being used more and more, it's very fast, and resistant. It's a hash of filesize, and the beginning and end of the file.
In pseudo-code, the hash is computed in the following way:
file_buffer = open("/path/to/file/") head_checksum = checksum(file_buffer.head(64 * 1024)) # 64KB tail_checksum = checksum(file_buffer.tail(64 * 1024)) # 64KB file_hash = file_buffer.size + head_checksum + tail_checksum
More code (including C code) at https://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes
The text was updated successfully, but these errors were encountered:
@rhash similar algorithm for reference.
Sorry, something went wrong.
Another vote for both oshash and imohash.
No branches or pull requests
https://github.com/r-salas/oshash
This is being used more and more, it's very fast, and resistant. It's a hash of filesize, and the beginning and end of the file.
In pseudo-code, the hash is computed in the following way:
More code (including C code) at https://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes
The text was updated successfully, but these errors were encountered: