On Thu, 25 Jul 2024 19:29:05 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). >> >> Work was begun in [another PR](https://github.com/openjdk/jdk/pull/18924). > > Kevin Driver has updated the pull request incrementally with two additional > commits since the last revision: > > - update code snippet type in KDF > - add preview annotation to KDFParameters src/java.base/share/classes/javax/crypto/KDF.java line 70: > 68: * The {@code deriveKey} and {@code deriveData} methods of {@code KDF} > objects > 69: * must be thread-safe. That is, multiple threads may concurrently invoke > these > 70: * methods on a single {@code KDF} object with no ill effects. These sentences (and similar ones in KDFSpi) should be removed now. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1693386636