Skip to content

Commit

Permalink
Updated README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
avaneev committed Nov 23, 2022
1 parent 294997e commit 30a193b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ input length is not known in advance.
```

The same incremental approach can be used for file or blob hashing, at a given
read block size. Note that this approach is not the same as "streamed" hashing
since this approach implicitly encodes the length of each hashed value.

If you need a streamed file hashing that is independent of read block size,
you may consider using [PRVHASH64S](https://github.com/avaneev/prvhash) which
provides 8.4 GB/s hashing throughput on Ryzen 3700X, and is able to produce a
hash value of any required bit-size.
chunk size (which may be e.g., 2048 bytes, except the last chunk). Note that
this approach is not the same as "streamed" hashing since this approach
implicitly encodes the length of each independent value.

If you need a streamed file hashing that is independent of chunk (read block)
size, you may consider using [PRVHASH64S](https://github.com/avaneev/prvhash)
which provides 8.4 GB/s hashing throughput on Ryzen 3700X, and is able to
produce a hash value of any required bit-size.

## Ports ##

Expand Down

0 comments on commit 30a193b

Please sign in to comment.