Answer the question
In order to leave comments, you need to log in
How to encrypt in C++ using MD5?
I want to encrypt data using MD5 in C++, but when I searched I couldn't find what I wanted.
I found how they do it in C # or C (C), but not in C ++, although I know that they can be combined with each other, but I would like to do it in C ++.
I want to write a C++ program to get a hash from a string/password using MD5, but I don't know any suitable guides for this, although I've been looking for a long time...
Answer the question
In order to leave comments, you need to log in
MD5 is not an encryption algorithm and cannot be used to encrypt.
And about hashing in C ++ - what prevents you from google ready-made solutions?
https://www.google.com/search?q=MD5+C%2B%2B
3here are two files md5.cpp,md5.h https://github.com/Beginerok/Tropic-Island/tree/ma...
#include "MD5.h"
std::string query;
md5(pass);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question