File Scanner 1.0.0
A high-performance C++ malicious file scanner.
Loading...
Searching...
No Matches
md5_file_hasher.h
Go to the documentation of this file.
1#ifndef SRC_SCANNER_LIB_MD5_FILE_HASHER_H_
2#define SRC_SCANNER_LIB_MD5_FILE_HASHER_H_
3
4#include <filesystem>
5#include <string>
6
8
9namespace scanner {
10
18class Md5FileHasher final : public IFileHasher {
19public:
31 std::string HashFile(const std::filesystem::path& file_path) override;
32};
33
34} // namespace scanner
35
36#endif // SRC_SCANNER_LIB_MD5_FILE_HASHER_H_
Defines the contract for a component that can hash a file's content.
Definition interfaces.h:18
An implementation of IFileHasher that calculates MD5 hashes.
Definition md5_file_hasher.h:18
std::string HashFile(const std::filesystem::path &file_path) override
Calculates the MD5 hash of a given file.
Definition md5_file_hasher.cpp:10
Definition domain.h:12