mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
cdaa8ad6dc
resources, md4c; and fix up some minor formatting issues
11 lines
245 B
C++
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;
|
|
}
|