X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=sha1.h;h=1ede8b3bbbce6822b02b225a27f349b62031e103;hb=58a0d3f8749111c15e9afa9d929016d65ed32250;hp=b4d43054902c926b20d7564f763c7e7c277ef745;hpb=25b6639fb1783e0061affa177e6d6d2131c457f5;p=cumulus.git diff --git a/sha1.h b/sha1.h index b4d4305..1ede8b3 100644 --- a/sha1.h +++ b/sha1.h @@ -23,6 +23,8 @@ # include # include +#include + typedef uint32_t md5_uint32; /* Structure to save state of computation between the single steps. */ @@ -88,6 +90,7 @@ public: void process(const void *data, size_t len); const uint8_t *checksum(); size_t checksum_size() const { return 20; } + std::string checksum_str(); }; #endif