On Tue, 23 Apr 2024 20:42:51 GMT, Kevin Driver <kdri...@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/spec/KDFParameterSpec.java line 32:

> 30:  *
> 31:  * <P> This interface contains no methods or constants. Its only purpose
> 32:  * is to group (and provide type safety for) all parameter 
> specifications. All KDF parameter

The words "all parameter specifications" is too general as this is specific to 
KDF. I would probably change this to "all KDF parameter specifications." Then 
you don't need the last sentence as it says the same thing.

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

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

Reply via email to