On Tue, 14 Nov 2023 17:21:53 GMT, Weijun Wang <[email protected]> wrote:
> Add parameters to `MessageDigest` and introduce `SHAKE256-LEN` with an
> integer parameter.
src/java.base/share/classes/java/security/MessageDigest.java line 436:
> 434: * {@code MessageDigestSpi} implementation for the
> 435: * specified algorithm and parameters
> 436: *
Is there a reason why you didn't throw IAPE when params are bad?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16660#discussion_r1394650843