On Thu, 9 May 2024 12:28:14 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> Introduce an API for Key Derivation Functions (KDFs), which are 
>> cryptographic algorithms for deriving additional keys from a secret key and 
>> other data. See [JEP 478](https://openjdk.org/jeps/478).
>
> src/java.base/share/classes/javax/crypto/KDF.java line 54:
> 
>> 52:  * the algorithm specifier may be omitted if the KDF algorithm has a 
>> fixed or default PRF.
>> 53:  * <p>
>> 54:  * TODO: finish this javadoc
> 
> You should state that a KDF object is immutable. A sample would also be 
> useful.

You need an `@since 23`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1595382795

Reply via email to