Functions | |
std::string | sha256 (const std::string &str) |
SSL_CTX * | initialize_ssl () |
std::string | read_password () |
bool | authenticate (SSL *ssl) |
bool | receive_file (SSL *ssl, const std::string &filename) |
void | list_files (SSL *ssl) |
void | print_help () |
int | main () |
Variables | |
const std::string | USERNAME = "client" |
const std::string | SALT |
bool authenticate | ( | SSL * | ssl | ) |
SSL_CTX * initialize_ssl | ( | ) |
void list_files | ( | SSL * | ssl | ) |
int main | ( | ) |
void print_help | ( | ) |
std::string read_password | ( | ) |
bool receive_file | ( | SSL * | ssl, |
const std::string & | filename ) |
std::string sha256 | ( | const std::string & | str | ) |
const std::string SALT |
const std::string USERNAME = "client" |