> DefaultEncryptorWithMAC
I believe DefaultEncryptorWithMAC  uses MD5, which is not a FIPS
approved algorithm. Are you using the FIPS version of the DLL?

>  It seems that its too hard to make a DLL based on crypto++.
It is easier to start with no Dlls - just the header files and lib files....

Jeff

On Thu, Sep 11, 2008 at 10:08 AM, ChrissDeGrece
<[EMAIL PROTECTED]> wrote:
>
> Hi again , even followed your instructions from "Codeguru - Compiling
> and Integrating Crypto++ into the Microsoft Visual C++ Environment".
>
> I don't seem to get it working, but it works so great in the cryptest
> example. It seems that its too hard to make a DLL based on crypto++.
>
> Could you point to me to any examples or tutorials related to the
> subject?
>
> (Just in case there is something weird , I paste here the function
> from the cryptest example)
>
>
> --- Code sample ---
>
> string EncryptString(const char *instr, const char *passPhrase)
> {
>        string outstr;
>
>        DefaultEncryptorWithMAC encryptor(passPhrase, new HexEncoder(new
> StringSink(outstr)));
>        encryptor.Put((byte *)instr, strlen(instr));
>        encryptor.MessageEnd();
>
>        return outstr;
> }
>
> ---- End code sample ----
>

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