Hi Ingo,
what i want is sign the RIPEMD128 hash and the sign it. I choose RSA 
because it is most common and available in cryptopp, and its signature 
scheme use SHA1...

Variable string Sign is the end of StringSink, i define it in class Sign 
(chek my last post) and i initialize that so:

void SignHash()
{
DigitalSign = "";
}

Il giorno sabato 14 luglio 2012 18:47:49 UTC+2, Ingo Naumann ha scritto:
>
> Dear Michele, 
>
> How do you initialize the string variable "Sign"? 
>
> And, BTW, one comment on item 4) in your first mail. The command you 
> are using in your code is for signing a message. The message gets 
> hashed and then the RSA function is applied to this hash (simplified 
> explanation). In your case, your RIPEMD128 hash (stored in "Digest") 
> will be re-hashed with a SHA1 and then RSA'ed. If that's what you 
> want, you are on the right track. 
>
> Ingo 
>

-- 
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.

Reply via email to