@AccessesPartialKey
  public static KeyDeriver create(PrfBasedKeyDerivationKey key) throws GeneralSecurityException {
    StreamingPrf prf =
        MutablePrimitiveRegistry.globalInstance().getPrimitive(key.getPrfKey(), StreamingPrf.class);
    PrfBasedKeyDeriver deriver = new PrfBasedKeyDeriver(prf, key);
    Object unused = deriver.deriveKey(new byte[] {1});
    return deriver;
  }
Implements the KeyDeriver interface by first applying a Prf and then using the global registry to
create the correct key.
java_src/src/main/java/com/google/crypto/tink/keyderivation/internal/PrfBasedKeyDeriver.java