class MD5

class MD5
{
public:
    // typedefs

    typedef uint32_t size_type;

    // construction

    MD5();
    MD5(const std::string& text);

    //
methods

    void update(
        const unsigned char* buf,
        size_type length
        );

    void update(
        const char* buf,
        size_type length
        );

    MD5& finalize();
    std::string hexdigest() const;
};