| 31 | } |
| 32 | |
| 33 | void Help() |
| 34 | { |
| 35 | std::cout << "Usage:\n\ncrypto crypt \"path/to/key\" \"path/to/file\" --> encrypt/decrypt file\ncrypto gen \"output/path\" --> gen key\ncrypto print \"path/to/file\" --> print bytes"; |
| 36 | } |
| 37 | |
| 38 | bool WriteFile(const std::string& filename, const std::vector<uint8_t>& bin) |
| 39 | { |