Hello Wei Dai,
I have tried something similar to this new code in the FAQ, but it did not work..
I have now tried your source from the FAQ,
and had to replace (because I get compiling errors with PSSR):
" RSASS<PSSR, SHA>::Signer signer(f);"
" RSASS<PSSR, SHA>::Verifier verifier(signer);"


with:
"      RSASS<PKCS1v15, SHA>::Signer signer(f);"
"      RSASS<PKCS1v15, SHA>::Verifier verifier(signer);"

When execute this, the output gets an exception thrown:

"CryptoPP::exception caught: TF_SignerBase: this algorithm does not support
messsage recovery or the key is too short."

Slap me if I'm wrong :)
Cheers,
neimod.

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail




Reply via email to