sha3: move SHAKE into separate shake crate#869
Conversation
|
I understand moving |
|
Most users probably use only the fixed size types and the SHAKE implementation does not share much with them, so it allows to make To keep the number of crates the same I considered merging
Well, considering that we have the Keccak variants, the |
|
I would guess the opposite: SHAKE is likely to be the main thing people consume from this crate, owing to its use in various standards. But I guess we can do a survey. The actual SHA-3 hash functions have generally received poor adoption owing to their poor speed.
If we're removing things from |
I clicked through a number of most downloaded non-RustCrypto dependents and on the first glance most use fixed size types (with a surprising popularity of the Keccak variants owning to the cryptocoin stuff). I will try to do a proper survey later.
I understand this position, but in practice it would result in pure code duplication. Granted, it's not much thanks to |
|
Aah right, even as a user thereof I forgot about that. I guess I should probably say I would expect SHAKEs are the most used of the actually FIPS 202 constructions. |
They use only SHAKEs without the fixed size variants, no? IMO it's another argument for splitting XOF and non-XOF constructions since they are unlikely to be mixed. |
|
If XOFs were actually in a separate repo, I think that'd be a good argument for splitting it out |
|
I am fine with the repo split, if you prefer to handle it such way. |
|
I think it might make SHAKE harder to find, but it would at least be a justification for splitting them |
|
I will merge this PR and will do the repo split then. To improve discoverability I will mention the XOFs repo in the hashes root README. |
No description provided.