RHash icon indicating copy to clipboard operation
RHash copied to clipboard

Add CRC64/NVME support

Open jamshid opened this issue 9 months ago • 1 comments

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

jamshid avatar Mar 11 '25 16:03 jamshid

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?

rhash avatar May 14 '25 11:05 rhash