aboutsummaryrefslogtreecommitdiffstats
path: root/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/interactive_hasher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/interactive_hasher.cpp')
-rw-r--r--vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/interactive_hasher.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/interactive_hasher.cpp b/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/interactive_hasher.cpp
deleted file mode 100644
index f7b727b..0000000
--- a/vcpkg_installed/vcpkg/blds/picosha2/src/v1.0.1-8b81a1a146.clean/example/interactive_hasher.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include <iostream>
-#include "../picosha2.h"
-
-int main(int argc, char* argv[])
-{
- std::cout << "Input freely. To get hash, input \"hash!\". " << std::endl;
- picosha2::hash256_one_by_one hasher;
- while(true){
- hasher.init(); //reset hasher state
- while(true){
- std::string line;
- std::getline(std::cin, line);
- if(line == "hash!"){
- break;
- }
- hasher.process(line.begin(), line.end());
- }
- hasher.finish();
- std::string hex_str;
- picosha2::get_hash_hex_string(hasher, hex_str);
- std::cout << hex_str << std::endl;
- }
-
- return 0;
-}
-