.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OECreateInChIKey

.. oe:function:: OECreateInChIKey

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OECreateInChIKey(std::string& str, const OEMolBase& mol,
                               const OEInChIOptions& = OEInChIOptions())

   .. oe:language:: python

      .. oe:api:: python

         OECreateInChIKey(str: str, mol: Union[OEGraphMol,OEMol,OEQMol],
                          arg3: OEInChIOptions = OEInChIOptions()) -> None

   Creates an :term:`InChIKey` string representing a given molecule.

   .. note::

      |InChIVersionID|

