Skip to content

Add CRC64/NVME support #278

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

Open
jamshid opened this issue Mar 11, 2025 · 1 comment
Open

Add CRC64/NVME support #278

jamshid opened this issue Mar 11, 2025 · 1 comment
Labels
FR hash algorithm FR for a hash function

Comments

@jamshid
Copy link

jamshid commented Mar 11, 2025

Sorry I don't know the details but AWS S3 introduced support for this algorithm CRC64NVME. It would be nice if an independent easy to use command like rhash supported it.

https://aws.amazon.com/about-aws/whats-new/2024/12/amazon-s3-default-data-integrity-protections/
https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html#API_Checksum_Contents
https://lib.rs/crates/crc64fast-nvme

@rhash rhash added hash algorithm FR for a hash function FR labels Mar 21, 2025
@rhash
Copy link
Owner

rhash commented May 14, 2025

I've reviewed the documentation and implementation, and CRC-64/NVME is almost ready to be included in RHash alongside CRC-64/ECMA-182 and CRC-64/WE.

The following questions still need to be addressed:

  1. Are these three CRC-64 variants sufficient? Other 64-bit algorithms seem rarely used.
  2. What identifiers should be used as Magnet URN names?
  3. What identifiers should be used as the hash name in the BSD hash file format?
  4. Should the program detect specific file extensions to identify the type of CRC-64 hash included?

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

No branches or pull requests

2 participants