-
Notifications
You must be signed in to change notification settings - Fork 1
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
Revise HashStore config hashstore.yaml
for an algorithms list
#36
Comments
hashstore.yaml
for an algorithms list.hashstore.yaml
for an algorithms list
With the current
However, after typing up a storm and trying to get my thoughts out, I see now why not having the default list based on
Summary of Proposed Changes:
What do you think @mbjones? |
DataONE used the library of congress vocabulary to standardize algorithm types. How about a simple utility method to lookup the language-specific value from the dataone controlled list. Something like this in python and another in java?
Maybe load it from config and provide for the case when the algo is not found? Should be just a few lines of code to translate. |
This is a great idea - thank you for the feedback! I have made the changes and it has been merged into develop. The Python
Java:
Here is what the
I will circle back and close this issue if no further comments. |
Further relevant links:
|
My initial comment for discussion:
@mbjones' Feedback:
Here is the supported algorithms from Python (hashlib library):
Here is the supported algorithms from Java (MessageDigest class):
Python (f-string)
hashstore.yaml
I am opening this issue for now, and will comment after giving it some more thought.
The text was updated successfully, but these errors were encountered: