Hi All,

A small stumbling block. 'unknown' is being returned. Can I retreive
the true name?

MD5  hashMD5;
HashFilter filterMD5(hashMD5);
...
filterMD5.TransferTo( encoder );
cout << filterMD5.AlgorithmName() << ": " << digest << endl;
digest.erase();

It seems to me a HashFilter should be able to retreive the
AlgorithmName() by way of the hash object:

filterMD5.AttachedObject().AlgorithmName()

But I can't seem to find it. Am I barking up the wrong tree? (I'm
trying not to maintain Parallel Arrays)

Jeff


class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Algorithm : public Clonable
{
public:
    ..
    //! returns name of this algorithm, not universally implemented yet
    virtual std::string AlgorithmName() const {return "unknown";}
};

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to