geode/loader/hash/hash.cpp
HJfod cdaa8ad6dc add all UI-related stuff from API, including index, nodes, actual ui,
resources, md4c; and fix up some minor formatting issues
2022-08-01 18:18:03 +03:00

11 lines
245 B
C++

#include <iostream>
#include "hash.hpp"
int main(int ac, char* av[]) {
if (ac < 2) {
std::cout << "Usage: \"checksum <file>\"\n";
return 1;
}
std::cout << calculateHash(av[1]) << std::hex;
return 0;
}