uint32_t generate_rsa_key(std::string& priv_key_str, std::string& pub_key_str);