Consider throwing checked exception in SRP routines

Issue #6 wontfix
Vladimir Dzhuvinov created an issue

Currently there's not clean way to handle NoSuchAlgorithmException, etc in PasswordKeyRoutine implementations.

Comments (3)

  1. simon

    Checked exceptions are out of favour these days. Languages developed after Java avoid them (C#, Scala, Kotlin) and popular frameworks like Spring tend to convert checked exceptions into runtime exceptions.

    In the case of "no such algorithm" we would hope that the "victim" actually checks the configuration on their deployment.

  2. Log in to comment