.. index:: pair: class; EE::System::MD5 .. _doxid-class_e_e_1_1_system_1_1_m_d5: class EE::System::MD5 ===================== .. toctree:: :hidden: struct_EE_System_MD5_Context.rst struct_EE_System_MD5_Result.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class MD5 { public: // typedefs typedef std::array<:ref:`Uint8`, 16> :target:`Digest`; // structs struct :ref:`Context`; struct :ref:`Result`; // methods static :ref:`Result` :ref:`fromStream`(:ref:`IOStream`& stream); static :ref:`Result` :ref:`fromFile`(std::string path); static :ref:`Result` :ref:`fromMemory`(const :ref:`Uint8`* data, :ref:`Uint64` size); static :ref:`Result` :ref:`fromString`(const std::string& str); static :ref:`Result` :ref:`fromString`(const :ref:`String`& str); static void :target:`init`(:ref:`Context`& ctx); static void :target:`update`(:ref:`Context`& ctx, const void* data, unsigned long size); static void :target:`final`(:ref:`Digest`& result, :ref:`Context`& ctx); static :ref:`Result` :target:`result`(:ref:`Context`& ctx); static std::string :target:`hexDigest`(const :ref:`Digest`& digest); }; .. _details-class_e_e_1_1_system_1_1_m_d5: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; fromStream .. _doxid-class_e_e_1_1_system_1_1_m_d5_1a5f8f061186b1019bc14d7d26d374e400: .. ref-code-block:: cpp :class: doxyrest-title-code-block static :ref:`Result` fromStream(:ref:`IOStream`& stream) .. rubric:: Returns: Calculates the md5 hash from a stream .. index:: pair: function; fromFile .. _doxid-class_e_e_1_1_system_1_1_m_d5_1a136876f59afd9c1a3fed8acd48d6c59b: .. ref-code-block:: cpp :class: doxyrest-title-code-block static :ref:`Result` fromFile(std::string path) Calculates the md5 hash from a file .. index:: pair: function; fromMemory .. _doxid-class_e_e_1_1_system_1_1_m_d5_1a4875ced90d824edc866058491389cd9e: .. ref-code-block:: cpp :class: doxyrest-title-code-block static :ref:`Result` fromMemory(const :ref:`Uint8`* data, :ref:`Uint64` size) Calculates the md5 hash from memory .. index:: pair: function; fromString .. _doxid-class_e_e_1_1_system_1_1_m_d5_1ae28f770dcbfe3f3de40e29d0441de96e: .. ref-code-block:: cpp :class: doxyrest-title-code-block static :ref:`Result` fromString(const std::string& str) Calculates the md5 hash from a string .. index:: pair: function; fromString .. _doxid-class_e_e_1_1_system_1_1_m_d5_1a76ce3dea06447c3db57eb1b6c296a8c1: .. ref-code-block:: cpp :class: doxyrest-title-code-block static :ref:`Result` fromString(const :ref:`String`& str) Calculates the md5 hash from a string