Hi All,

I believe this is a valid combination of cipher/mode [1,2,3], so I'm not sure
what I am doing wrong. I know there are better choices than ECB - this is an
educational exercise. I also realize ECB does not use an IV, but I
can't compile with just a key.

CryptoPP::ECB_Mode< CryptoPP::AES >::Encryption
  Encryptor( key, sizeof(key), iv );
and
  Encryptor( key, sizeof(key) );

throws an exception in AlgParams:
CryptoPP::AlgorithmParametersBase::ParameterNotUsed

Any help would be appreciated.

Jeff

[1] http://csrc.nist.gov/groups/ST/toolkit/BCM/index.html
[2] http://www.ietf.org/rfc/rfc3826.txt
[3] http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf

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