diff options
author | romanoved <romanoved@yandex-team.ru> | 2022-02-10 16:45:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:56 +0300 |
commit | 32afff1bad806b1fc774d6ccc979a3dc05a0c7f8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/digest/md5/md5.h | |
parent | 90132a2ca55bba6a3adaf9aff8aed49128867d84 (diff) | |
download | ydb-32afff1bad806b1fc774d6ccc979a3dc05a0c7f8.tar.gz |
Restoring authorship annotation for <romanoved@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/digest/md5/md5.h')
-rw-r--r-- | library/cpp/digest/md5/md5.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/digest/md5/md5.h b/library/cpp/digest/md5/md5.h index 74e27cd4ed..2c17aa0518 100644 --- a/library/cpp/digest/md5/md5.h +++ b/library/cpp/digest/md5/md5.h @@ -35,9 +35,9 @@ public: // buf must be char[25]; char* End_b64(char* buf); - // 8-byte xor-based mix - ui64 EndHalfMix(); - + // 8-byte xor-based mix + ui64 EndHalfMix(); + MD5& Update(IInputStream* in); /* @@ -61,8 +61,8 @@ public: static ui64 CalcHalfMix(TStringBuf data); static ui64 CalcHalfMix(const TArrayRef<const ui8>& data); - static ui64 CalcHalfMix(const char* data, size_t len); - + static ui64 CalcHalfMix(const char* data, size_t len); + static bool IsMD5(TStringBuf data); static bool IsMD5(const TArrayRef<const ui8>& data); |