RFR: 8331008: KDF Implementation

Sean Mullan mullan at openjdk.org
Thu May 9 12:40:57 UTC 2024


On Thu, 9 May 2024 12:28:14 GMT, Sean Mullan <mullan at 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



More information about the security-dev mailing list