Hello,

I have a simple question:

Can I use Base64Decoder instead of HexDecoder? in the following test.cpp
code:

void RSASignFile(const char *privFilename, const char *messageFilename,
const char *signatureFilename)
{
        FileSource privFile(privFilename, true, new HexDecoder);
        RSASSA_PKCS1v15_SHA_Signer priv(privFile);
        // RSASSA_PKCS1v15_SHA_Signer ignores the rng. Use a real RNG for
other signature schemes!
        FileSource f(messageFilename, true, new SignerFilter(NullRNG(),
priv, new HexEncoder(new FileSink(signatureFilename))));
}

Reply via email to