static final String toHmacAlgo(EciesParameters.HashType hash) throws GeneralSecurityException {
    if (hash.equals(EciesParameters.HashType.SHA1)) {
      return "HmacSha1";
    }
    if (hash.equals(EciesParameters.HashType.SHA224)) {
      return "HmacSha224";
    }
    if (hash.equals(EciesParameters.HashType.SHA256)) {
      return "HmacSha256";
    }
    if (hash.equals(EciesParameters.HashType.SHA384)) {
      return "HmacSha384";
    }
    if (hash.equals(EciesParameters.HashType.SHA512)) {
      return "HmacSha512";
    }
    throw new GeneralSecurityException("hash unsupported for EciesAeadHkdf: " + hash);
  }
ECIES encryption with HKDF-KEM (key encapsulation mechanism) and AEAD-DEM (data
encapsulation mechanism).

@since 1.0.0
java_src/src/main/java/com/google/crypto/tink/subtle/EciesAeadHkdfHybridEncrypt.java