Dear Sir,
Thank you for your work on Beginning Cryptography with Java. It has been very beneficial for my research work.
Part of my work involves implementing a Hybrid Cryptosystem, where symmetric keys are used to encrypt data which are then encrypted using asymmetric encryption. I am planning to use ECC + AES to accomplish this task.
I am able to implement data encapsulation using AES; however I am not able to figure out how I can use ECC for encrypting AES keys.
Can ECIES be used for this task?
If so, can you please provide me some useful information on ECIES and how one can implement it in java. Any sample code or links?
Also, I was able to find source code for ECIESTest.java from bouncycastleâs website but was not able to follow the code completely.
Following are my queries regarding ECIESTest.java,
What is the purpose of IEKeySpec and IESParameterSpec objects?
Why does IEKeySpec take private and public keys as it parameters?
Quote:
|
IEKeySpec c1Key = new IEKeySpec(aPriv, bPub);
|
Kindly provide your assistance regarding the above queries,
Thanks in advance,
Regards,
Harkeerat