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 | 90132a2ca55bba6a3adaf9aff8aed49128867d84 (patch) | |
tree | 31b87b38cf64c8a06dc9225c2627ca5ec2b1aae1 /library/cpp/digest/md5/md5.h | |
parent | 62a805381e41500fbc7914c37c71ab040a098f4e (diff) | |
download | ydb-90132a2ca55bba6a3adaf9aff8aed49128867d84.tar.gz |
Restoring authorship annotation for <romanoved@yandex-team.ru>. Commit 1 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 2c17aa0518..74e27cd4ed 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); |