You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as it currently is, DigestBuilder can be fed with bogus data, but depending on what gets fed it will raise all sort of Exceptions, requiring the consumer of the API to capture all sort of exceptions.
Examples:
feeding it with a empty strings results in ArrayIndexOutOfBoundsException
while feeding with an short hash string results in StringIndexOutOfBoundsException
It would be great if a particular exception was raised.
The text was updated successfully, but these errors were encountered:
as it currently is, DigestBuilder can be fed with bogus data, but depending on what gets fed it will raise all sort of Exceptions, requiring the consumer of the API to capture all sort of exceptions.
Examples:
feeding it with a empty strings results in ArrayIndexOutOfBoundsException
while feeding with an short hash string results in StringIndexOutOfBoundsException
It would be great if a particular exception was raised.
The text was updated successfully, but these errors were encountered: