I get the verify process as following:
static LPCSTR key =
{
"D4575A060728648C3D01010"
};
BYTE byMessage[] ={'1','2','3','4','5'};
BYTE bySign[] ={'a','b','c','d','e','f'};
int Verify()
{
CryptoPP::StringSource src( key, true, new CryptoPP::HexDecoder);
CryptoPP::ECDSA <CryptoPP::ECP>::Verifier verifier(src);
if (verifier.VerifyMessage(byMessage, sizeof(byMessage), bySign,
sizeof(bySign)))
return 0;
else
return -1;
}
How I write the signature process to meet the verification process?
please give me some suggestion.
--
View this message in context:
http://www.nabble.com/how-to-get-the-signature-process--tp23197450p23197450.html
Sent from the Crypto++ Users mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---