Safe DDS
eprosima::safedds::portable::MD5 Class Reference

Class to perform MD5 message-digest operations. More...

#include <MD5.hpp>

Public Member Functions

 MD5 () noexcept
 Constructor, initializes internal state. More...
 
void update (const memory::IConstByteArrayView &input) noexcept
 Update current MD5 message-digest operation with a data buffer. More...
 
void finalize (const memory::IByteArrayView &output) noexcept
 Ends the MD5 operation and returns the result. More...
 

Detailed Description

Class to perform MD5 message-digest operations.

Note
This implementation is based on the provided on the IETF RFC 1321 - APPENDIX A.

Constructor & Destructor Documentation

◆ MD5()

eprosima::safedds::portable::MD5::MD5 ( )
explicitnoexcept

Constructor, initializes internal state.

Member Function Documentation

◆ finalize()

void eprosima::safedds::portable::MD5::finalize ( const memory::IByteArrayView output)
noexcept

Ends the MD5 operation and returns the result.

Note
The internal context is cleaned to allow new calculations.
Parameters
[out]outputbuffer view to store MD5 digest result.

◆ update()

void eprosima::safedds::portable::MD5::update ( const memory::IConstByteArrayView input)
noexcept

Update current MD5 message-digest operation with a data buffer.

Parameters
[in]inputconst input buffer.

The documentation for this class was generated from the following file: