En cours

create a decrypt c++ poco program for encrypt

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.

= = = = = = = = = = = = =

#include "Poco/HMACEngine.h"

#include "Poco/SHA1Engine.h"

#include <iostream>

using Poco::DigestEngine;

using Poco::HMACEngine;

using Poco::SHA1Engine;

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

std::string digestString(DigestEngine::digestToHex(digest));

// convert to a string of hexadecimal numbers

std::cout << digestString << std::endl;

return 0;

}

Compétences : Programmation C++

Voir plus : string cplusplus, c programming char, cplusplus string, char c programming, encrypt request android decrypt response php, encrypt using php decrypt foxpro, encrypt visual basic decrypt java, objective encrypt string php decrypt, program encrypt file using offset cipher, create secret codes, program encrypt file, create secret password signup vbulliten, rijndael encrypt using java decrypt using net, flex encrypt php decrypt

Concernant l'employeur :
( 4 commentaires ) tel aviv, Israel

N° du projet : #8471117

Décerné à :

wrarvw

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.

25 $ USD en 1 jour
(2 Commentaires)
2.4

5 freelance ont fait une offre moyenne de 36 $ pour ce travail

hbxfnzwpf

I am very proficient in java. I have 12 years java developing experience. I have worked for 5 years, my work is online game developing, and mainly focus on server side, the language is java under linux, I am proficint Plus

80 $ USD en 1 jour
(46 Commentaires)
5.9
BigCityInstitute

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.

34 $ USD en 1 jour
(2 Commentaires)
2.1
pinetree800

Hi,sir. I was interested when I saw your project. Because I have a lot of experiences on the fields. My skills are C, C++, Reversing, Matlab & Mathematics, Web scraping,Algorithm. I can help you very kindly. I ca Plus

25 $ USD en 1 jour
(5 Commentaires)
2.3
naeemshahzad95

I am a computer engineering student experienced in solving problems in c/ c++ . I have done many projects in university as well as freelancer on fiverr. You can check my work on [url removed, login to view] . I'll be very t Plus

15 $ USD en 1 jour
(0 Commentaires)
0.0