MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
cryptoutil.h
Go to the documentation of this file.
1/*
2 * Copyright 2022 Ingemar Hedvall
3 * SPDX-License-Identifier: MIT
4 */
5
13#pragma once
14#include <cstdint>
15#include <string>
16#include <vector>
17namespace mdf {
18
25std::string CreateMd5FileString(const std::string& file);
26
35bool CreateMd5FileChecksum(const std::string& file, std::vector<uint8_t>& md5);
36
37} // namespace mdf
Main namespace for the MDF library.
Definition canmessage.h:17
std::string CreateMd5FileString(const std::string &file)
Generates an MD5 file checksum (32 character) string.
bool CreateMd5FileChecksum(const std::string &file, std::vector< uint8_t > &md5)
Create a file hash byte array according to MD5.