Exposing Sha256 signature when supported. #556

Open
opened 2026-01-29 22:13:42 +00:00 by claunia · 1 comment
Owner

Originally created by @vpenades on GitHub (Feb 9, 2023).

Hi

Looking at the code, some archive formats like RAR use a Sha256 hash signature internally for every entry, is that correct?

If it is, is there any way in the API to retrieve the Sha256 of a given entry?

Supporting Sha256 can be useful to find files in archives without actually requiring to read the whole files.

Originally created by @vpenades on GitHub (Feb 9, 2023). Hi Looking at the code, some archive formats like RAR use a Sha256 hash signature internally for every entry, is that correct? If it is, is there any way in the API to retrieve the Sha256 of a given entry? Supporting Sha256 can be useful to find files in archives without actually requiring to read the whole files.
claunia added the enhancementup for grabs labels 2026-01-29 22:13:42 +00:00
Author
Owner

@adamhathcock commented on GitHub (Mar 1, 2023):

PRs are welcome to improve this. Been out of it for personal reasons.

@adamhathcock commented on GitHub (Mar 1, 2023): PRs are welcome to improve this. Been out of it for personal reasons.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#556