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

Add p:file-hash #45

Open
JDziurlaj opened this issue Oct 31, 2022 · 0 comments
Open

Add p:file-hash #45

JDziurlaj opened this issue Oct 31, 2022 · 0 comments

Comments

@JDziurlaj
Copy link

I need a way to verify the hash of certain documents entering an XProc pipeline. I cannot use p:hash as I need to hash the actual bytes that may vary by encoding (UTF-8, UTF-16, EBCDIC, etc.)

The proposed step would behave like p:load, but in addition, one of the output ports would contain a hashed value of the source. Options would be mainly in line with p:hash.

There might be some desire for hashing to apply to href using URI schemes other than file, making this perhaps a more general facility.

@ndw ndw transferred this issue from xproc/3.0-steps Jun 6, 2024
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

1 participant