RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v15]

Valerie Peng valeriep at openjdk.org
Wed Aug 28 23:31:31 UTC 2024


On Mon, 26 Aug 2024 18:16:17 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> src/java.base/share/classes/javax/crypto/KDF.java line 473:
>> 
>>> 471:      * @param alg
>>> 472:      *     the algorithm of the resultant {@code SecretKey} object
>>> 473:      * @param derivationParameterSpec
>> 
>> I prefer a short name like `input`. I know the type is `AlgorithmParameterSpec` but it's actually not parameter.
>
> Acknowledged. `input` is too vague.

maybe "derivationSpec"?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1735389583


More information about the security-dev mailing list