Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Looks like the comment I added in #111 was removed in #207.
I appreciate that aHash makes an effort of providing some protection against HashDoS, but in cryptography, this alone is not enough. In particular, it doesn't use full AES (unless that has changed since its inception), so no cryptographic claims can be made about the quality of the involved cipher. The wiki page I linked is somewhat misleading in this regard I think -- yes, doing a few rounds of AES does mangle the data quite a bit, but not in any way that I would place a bet on. In use for cryptography, using not enough AES rounds the way aHash does is known to lead to an easily breakable cipher. Just because there's "AES" in the name and a naive differential analysis fails doesn't mean it's secure.
Just using a key in some way is not sufficient to claim HashDoS resistance. You also need to show that there is no way to leak the key, e.g. through a timing side-channel. So given that this can be security-critical, I think we should follow the usual standards of waiting for independent analysis and confirmation of the given claims by other experts before accepting them.
The wiki page also claims it to be an "advantage" that there is no fixed standard. That is a rather questionable claim, given that all the most secure ciphers we use daily on the internet do have a fixed standard, and precisely following the standard is crucial for security.