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

Consider API similar to Java Message DIgest #139

Open
ekrich opened this issue Jul 12, 2023 · 1 comment
Open

Consider API similar to Java Message DIgest #139

ekrich opened this issue Jul 12, 2023 · 1 comment

Comments

@ekrich
Copy link

ekrich commented Jul 12, 2023

Java has a MessageDigest and MessageDigestStream that is used when hashing files and jars. We are in the process of cross compiling tools and we have used digest hashes for directories and files. Because Scala Native needs these things locally we would have to copy your code with attribution.

@catap
Copy link
Collaborator

catap commented Mar 13, 2024

Hey,

After a lot of thought about this issue I'd like to avoid to implement such API, at least at this librarry.

The root cause: it should be quite deply registered inside environment and standard API doesn't produce any nice way to do it, see: https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html

If you have an idea how to register it in porable way, I'll change my mind and implement it.

But I haven't see the way :(

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

2 participants