yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
rom_hash.h File Reference
#include <cstddef>
#include <cstdint>
#include <string>
Include dependency graph for rom_hash.h:

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::util
 

Functions

uint32_t yaze::util::CalculateCrc32 (const uint8_t *data, size_t size)
 
std::string yaze::util::ComputeRomHash (const uint8_t *data, size_t size)
 
std::string yaze::util::ComputeSha1Hex (const uint8_t *data, size_t size)
 Compute SHA-1 hash of data, return lowercase hex string (40 chars).
 
std::string yaze::util::ComputeFileSha1Hex (const std::string &path)