diff options
Diffstat (limited to 'vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp')
| -rw-r--r-- | vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp b/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp deleted file mode 100644 index 4903069..0000000 --- a/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp +++ /dev/null @@ -1,22 +0,0 @@ -#include <iostream> -#include "../picosha2.h" - -void CalcAndOutput(const std::string& src){ - std::cout << "src : \"" << src << "\"\n"; - std::cout << "hash: " << picosha2::hash256_hex_string(src) << "\n" << std::endl; -} - -int main(int argc, char* argv[]) -{ - if(argc == 1){ - CalcAndOutput(""); - } - else{ - for(int i = 1; i < argc; ++i){ - CalcAndOutput(argv[i]); - } - } - - return 0; -} - |
