#byte #hashing #hash #file #read-file #pypi #filesize

oshash

An implementation of https://pypi.org/project/oshash/ in Rust

2 releases

0.1.1 Dec 3, 2022
0.1.0 Dec 3, 2022

#3 in #pypi

38 downloads per month

GPL-3.0-or-later

265KB
57 lines

oshash

Contains a hashing method that matches the hashing method described here: https://pypi.org/project/oshash/ This hashing method is particularly useful when you don’t want to read an entire file’s bytes to generate a hash, provided you trust that any changes to the file will cause byte differences in the first and last bytes of the file, or a change to its file size.


lib.rs:

Contains a hashing method that matches the hashing method described here: https://pypi.org/project/oshash/ This hashing method is particularly useful when you don't want to read an entire file's bytes to generate a hash, provided you trust that any changes to the file will cause byte differences in the first and last bytes of the file, or a change to its file size.

Dependencies