OpenSSL has a function:
unsigned char* MD5(const unsigned char* d, unsigned long n, unsigned char* md); The problem is that I need to make text input through the console and save it to a string in order to use it as an argument for MD5() and get the value of the hash function, but
istream& std::istream::getline(char* s, streamsize n); accepts only char* arguments.
How to solve the type mismatch problem?