 |
BOOK: Beginning Cryptography with Java  | This is the forum to discuss the Wrox book Beginning Cryptography with Java by David Hook; ISBN: 9780764596339 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning Cryptography with Java section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

October 6th, 2009, 07:35 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ecdh java code
Quote:
Originally Posted by amrishodiq
|
Quote:
Originally Posted by dgh
|
Dear Sir,
I am krishna working in ECDH,I hope by this time you might have finished your coding for ECDH,can u please share that code to me and send it to my mail ( [email protected]).I am very much in need of the code please help me out......
regards
krishna
|
|

October 6th, 2009, 07:43 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
[QUOTE=kalluri_88;247682]
Hi everybody
I am krishna working in ECDH,can any one please send me JAVA code for ECDH to my mail ( [email protected]).I am very much in need of the code please help me out......
regards
krishna
|
|

October 6th, 2009, 05:51 PM
|
|
Wrox Author
|
|
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
|
|
Hi, as I mentioned previously the source for doing ECDH is available for both Java and C# at http://www.bouncycastle.org - look on the latest releases page for Java.
Regards,
David
|
|

October 13th, 2009, 01:08 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
reg-ECDH CODE
Dear David,
As you said that code for ECDH in java is available in bouncycastle.org.
I downloaded the bouncycastle package bcprov-jdk16-144 and tried to run the program but i am getting the following errors....
C:\Program Files\Java\jdk1.6.0_05\bin\bcprov-jdk16-144>javac BasicECDHExample.ja
va
C:\Program Files\Java\jdk1.6.0_05\bin\bcprov-jdk16-144>java BasicECDHExample
Exception in thread "main" java.security.NoSuchAlgorithmException: no such algorithm: ECDH for provider BC
at sun.security.jca.GetInstance.getService(GetInstanc e.java:70)
at sun.security.jca.GetInstance.getInstance(GetInstan ce.java:190)
at java.security.KeyPairGenerator.getInstance(KeyPair Generator.java:237) at BasicECDHExample.main(BasicECDHExample.java:26)
How to solve this errors.....
Regards
Krishna
|
|

October 13th, 2009, 02:07 AM
|
|
Wrox Author
|
|
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
|
|
Have a look at the source for the org.bouncycastle.jce.provider.test.DHTest You will find example code for using ECDH and ECDHC.
You can find the source in the .zip and .tar.gz versions.
Regards,
David
|
|

October 21st, 2009, 01:55 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi, i have generated key's for ECDH. I now want to use any symmetric algorithm(AES or rijndael 256) to encrypt and decrypt some plain text, how may i proceed?
Regards
krishna
|
|

December 7th, 2011, 02:11 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ECDH Code
You got the code for ECDH. So please help me. I need the same for my project. Please mail me the code ( [email protected]). Please help me, its very urgent.
|
|

December 8th, 2011, 10:26 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry sir but I am not getting anything from their. Will you please give me the code if you have it
|
|

December 10th, 2011, 11:04 PM
|
|
Wrox Author
|
|
Join Date: Aug 2005
Posts: 206
Thanks: 0
Thanked 20 Times in 20 Posts
|
|
The distributions are also available for anonymous ftp at ftp.bouncycastle.org Note the server does not support passive mode ftp.
Sorry, but I do not have the facilities to send the code via email.
Regards,
David
|
|
 |