There are still cases (combinations of message point and base point Pbase ) in which ECC does not work correctly
Example parameters
- Coefficients : a = 4, b = 20
- Finite field : p = 329
- Random k = 11
- Pbase : 10th point ( point[9] )
Output
- Public Key is (132,265)
- Initial message point is (155,118)
- Encrypted point is [(132,265),(191,42)]
- Decrypted message point is (207,289) // Not the same as initial message point
There are still cases (combinations of message point and base point Pbase ) in which ECC does not work correctly
Example parameters
Output