base: add hasher_bitvec256 type

This commit is contained in:
Nigel Tao committed 2023-10-12 21:35:47 +11:00
1 parent e0636e3255
commit 71dca5adce
5 files changed
+278 -7

No files matched your search

+2
View File
@@ -7,6 +7,8 @@ The LICENSE has changed from a single license (Apache 2) to a dual license
(Apache 2 or MIT, at your option).
- Added `base.bitvec256`.
- Added `base.hasher_bitvec256`.
- Added `base.hasher_u64`.
- Added `compact_retaining` and `history_retain_length`.
- Added `example/toy-aux-image`.
- Added `get_quirk(key: u32) u64`.
+3 -2
View File
@@ -36,8 +36,9 @@ In Wuffs syntax, the `base.hasher_u32` methods are:
- `update!(x: slice u8)`
- `update_u32!(x: slice u8) u32`
The `base.hasher_u64` methods are similar, except for the obvious difference of
calculating a 64-bit (not 32-bit) checksum.
The `base.hasher_u64` and `base.hasher_bitvec256` methods are similar, except
for the obvious difference of calculating a 64-bit or 256-bit (not 32-bit)
checksum.
## Implementations