On Monday, May 19, 2014 1:35:45 AM UTC-4, Bing Xiong Koh wrote:
>
> Hi, I'm new to Cryptopp so pardon me if my questions are silly.
>
> I would like to implement an ECIES encryption using cryptopp.
> I have looked into eccrypto.h and found that DL_EncryptionAlgorithm_Xor
> has been used as the symmetric encryption algorithm.
>
Here's the signature of interest:
template <class EC, class COFACTOR_OPTION = NoCofactorMultiplication, bool
DHAES_MODE = false>
struct ECIES
: public DL_ES<
DL_Keys_EC<EC>,
DL_KeyAgreementAlgorithm_DH<typename EC::Point, COFACTOR_OPTION>,
DL_KeyDerivationAlgorithm_P1363<typename EC::Point, DHAES_MODE,
P1363_KDF2<SHA1> >,
DL_EncryptionAlgorithm_Xor<HMAC<SHA1>, DHAES_MODE>,
ECIES<EC> >
{
static std::string CRYPTOPP_API StaticAlgorithmName() {return
"ECIES";} // TODO: fix this after name is standardized
};
> My question is whether there is other alternative DL encryption algorithm
> which could be used here.
> For example, what if I would like to use an AES symmetric encryption
> algorithm instead?
>
I don't believe so. I've never looked at replacing the
DL_EncryptionAlgorithm_Xor. CTR_Mode seems like it would be somewhat easy,
while CBC_Mode seems like it would be more difficult.
Jeff
--
--
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.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.