Hi. I have a DH key agreement and i made a test and run it and an exception was raised. I am using BC as provider. It was all ok until it hit some weird exceptions.
The DH functions are found in DH class and the testing is found in DHTest class. Apparently I could not attachment zips nor txt nor java files so I am sry but I have to post the whole java codes here which I wished I could avoid.
DH.java
DHTest.java
Thanks.
Regards,
Thotheolh.