1.i have a c++ poco program that encrypts some text with a cipher, i need the reverse, get the result encrypted text, and the cipher and convert it to
the text that was encrypted.
[url removed, login to view] the same amount of software (c++/poco) if possible.
= = = = = = = = = = = = =
int main(int argc, char** argv)
std::string message1("This is a top-secret message.");
std::string message2("Don't tell anyone!");
std::string passphrase("s3cr3t"); // HMAC needs a passphrase
HMACEngine<SHA1Engine> hmac(passphrase); // we'll compute a HMAC-SHA1
[url removed, login to view](message1);
[url removed, login to view](message2);
const DigestEngine::Digest& digest = [url removed, login to view]();
// finish HMAC computation and obtain digest
// convert to a string of hexadecimal numbers
std::cout << digestString << std::endl;
Décerné à :
Hello. The question as you are asking it is not possible as HMAC is one-way. If you don't want to reverse a HMAC but instead want to be able to encrypt and then decrypt data with a key I can write code for that.
5 freelance ont fait une offre moyenne de 36 $ pour ce travail
I'm READY to start your work now. Now I hope to be a great help for you. Of course, It's my hope. But I am sure you can give me the chance. Looking forward to be hired. Thanks.