Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register for HTTP Digest #830

Open
maartenbrock opened this issue Apr 24, 2023 · 3 comments
Open

Register for HTTP Digest #830

maartenbrock opened this issue Apr 24, 2023 · 3 comments

Comments

@maartenbrock
Copy link

Hi,

Are you working on getting xxHash registered as an HTTP Digest hash algorithm? See also:
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-digest-headers

@Cyan4973
Copy link
Owner

Cyan4973 commented Apr 24, 2023

Interesting !
I wasn't aware of this draft, unfortunately.
No idea where to engage this discussion,
but it probably starts with at least one clear use case (or more) that would benefit from xxhash as an HTTP Digest.

@felixhandte
Copy link
Contributor

felixhandte commented Apr 25, 2023

Based on Section 5's description of the registration criteria, we could register xxHash even though it is not cryptographically secure or standardized in an RFC.

@vanmierlo, do you have a use case where you would use xxhash in this way? Do you have a client or server in which you would implement it?

@maartenbrock
Copy link
Author

Yes, I'm constructing a json-rpc server on an ARMv7 with NEON support that also accepts large uploaded data files for which I would like to use an efficient hash for checking file integrity.
But more generically, if HTTP sees a use for using hashes as digests then using the most efficient algorithm seems only logical.
I understand that they support MD5 and SHA1 for legacy reasons, but I need more speed which xxHash provides. xxHash is faster than all supported algorithms. And of the insecure algorithms only SHA1 has more bits in its digest than XXH3-128.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants