aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/md5/md5.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/digest/md5/md5.h
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/digest/md5/md5.h')
-rw-r--r--library/cpp/digest/md5/md5.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/digest/md5/md5.h b/library/cpp/digest/md5/md5.h
index 674ab9dac0..2c17aa0518 100644
--- a/library/cpp/digest/md5/md5.h
+++ b/library/cpp/digest/md5/md5.h
@@ -1,6 +1,6 @@
#pragma once
-#include <util/generic/array_ref.h>
+#include <util/generic/array_ref.h>
#include <util/generic/strbuf.h>
class IInputStream;
@@ -40,18 +40,18 @@ public:
MD5& Update(IInputStream* in);
- /*
- * Return hex-encoded md5 checksum for given file.
- *
- * Return nullptr / empty string if the file does not exist.
- */
+ /*
+ * Return hex-encoded md5 checksum for given file.
+ *
+ * Return nullptr / empty string if the file does not exist.
+ */
static char* File(const char* filename, char* buf);
static TString File(const TString& filename);
-
+
static char* Data(const void* data, size_t len, char* buf);
static char* Data(const TArrayRef<const ui8>& data, char* buf);
static TString Data(const TArrayRef<const ui8>& data);
- static TString Data(TStringBuf data);
+ static TString Data(TStringBuf data);
static char* Stream(IInputStream* in, char* buf);
static TString Calc(TStringBuf data); // 32-byte hex-encoded