mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
12 lines
245 B
C++
12 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;
|
||
|
}
|