Skip to content

Commit

Permalink
encrypton - add bind phrase feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Aug 10, 2023
1 parent 76bce99 commit d175931
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions executables/unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ static void test_encrypt_decrypt_validate(const bool use_key_from_file,bool mess
}else{
/*encKey=wb::generate_keypair_deterministic(false);
decKey=wb::generate_keypair_deterministic(false);*/
const auto before=std::chrono::steady_clock::now();
auto tmp=wb::generate_keypair_from_bind_phrase("openhd");
std::cout<<"Generating keypair from bind phrase took:"<<MyTimeHelper::R(std::chrono::steady_clock::now()-before)<<std::endl;
encKey=tmp.drone;
decKey=tmp.drone;
}
Expand Down

0 comments on commit d175931

Please sign in to comment.