From 2864398c7b723c1d43166d422ea7028ef33cf9e3 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sun, 10 May 2026 03:36:59 -0300 Subject: sqlite backend with actual pagination --- .../src/v1.0.1-8b81a1a146.clean/example/hasher.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp (limited to 'vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp') 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 new file mode 100644 index 0000000..4903069 --- /dev/null +++ b/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/hasher.cpp @@ -0,0 +1,22 @@ +#include +#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; +} + -- cgit v1.2.3