On Mon, 13 May 2024 03:46:50 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). > > Kevin Driver has updated the pull request incrementally with one additional > commit since the last revision: > > re-enable preview annotations src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java line 351: > 349: * <a href="http://tools.ietf.org/html/rfc5869">RFC 5869</a>. > 350: */ > 351: final class ExtractExpand implements HKDFParameterSpec { This may have come up previously but I'm curious why ExtractExpand doesn't extend Extract. It's not quite an Expand because the pseudorandom key. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1598141801