enc->SetKeyWithIV( key, len, iv );

Patrick schrieb:
> Hi,
> 
> I've been trying to use AES as follows:
> 
>     CFB_Mode<AES>::Encryption *enc;
>     enc = new CFB_Mode<AES>::Encryption;
> 
> but couldn't find any documentation on how to set the keys if it
> wasn't done through the constructor (as done on all the examples I've
> seen). Finally I stumbled across 
> http://www.cryptopp.com/docs/ref521/class_symmetric_cipher.html
> which shows many of the the functions available. I was previously
> using the doc for version 5.4 which has very limited information but
> the 521 doc misses out the StaticAlgorithmName function which is also
> available.
> 
> My knowledge of C++ is not good enough (I'm a C programmer) to work
> through all the template classes in a timely manner. Is there a
> resource that shows the public functions linked to classes or are
> there any tricks to going through the header files that will simplify
> things for me? Also is there a document that shows which classes are
> implemented by the things you declare... It took me a long while to
> realise that CFB_Mode<AES> provided the functions documented under
> class_symmetric_cipher.
> 
> I'm working on quite a major project and will need MACing, digital
> signatures and key exchange before I'm finished so a complete resource
> for this library would be fantastic (I know it's open source but no
> harm in asking). Alternatively any ptrs gratefully received,
> Thanks,
> Patrick
> 
> 
> > 

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