RHash
RHash copied to clipboard
Add CRC64/NVME support
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
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:
- Are these three CRC-64 variants sufficient? Other 64-bit algorithms seem rarely used.
- What identifiers should be used as Magnet URN names?
- What identifiers should be used as the hash name in the BSD hash file format?
- Should the program detect specific file extensions to identify the type of
CRC-64hash included?