Hi,

I'm encrypting data using Crypto++ like so:

// Password-Based Encryptor using DES-EDE2 and HMAC/SHA-1
std::string
encrypt( const std::string & data, const std::string & key )
{
        std::string outString;
        DefaultEncryptorWithMAC encryptor((char*)key.c_str(), new HexEncoder
(new StringSink(outString)));
        encryptor.Put((byte *)data.c_str(), data.size());
        encryptor.MessageEnd();
        return outString;
}

Is it possible to decrypt this in C# using the MS supplied
cryptographic functions? How?
If not, what would be an encryption scheme that works in both
environments? Any code samples?

cheers,

    Sören

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