Skip to content

Add additional algorithms #15772

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ellahathaway
Copy link
Member

Related to dotnet/source-build#4999

This pull request updates the CreateHashAlgorithm method in Utils.cs to enhance its usability and error reporting. The changes include support for additional hash algorithm name formats and improved exception messages.

  • Updated the CreateHashAlgorithm method to recognize alternative hash algorithm name formats (e.g., "SHA-256" in addition to "SHA256").
  • Enhanced the exception message for unsupported hash algorithms to include the invalid hashName provided.

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

Successfully merging this pull request may close these issues.

1 participant