I was look around the answer and googling to find a way how to encrypt and decrypt a string with El-Gamal Elliptic Curve without any third party library but there's always the answer to use a third party library like bo*...castle or fle**provider. In order to prevent dependencies in my program I decided to use java security because as I ever ask and discuss from my question following this thread it can be done without any third party library, but in that (thread) case the purpose is to sign/verify, now:
- HOW or is that possible to do the encryption/de with ElGamal ECC with Java(JDK 7+) native ?
- From that linked thread above, im using base64 method to store the private and the public key, can i do the same way in El-Gamal ECC ?
- Is there anybody with the brave heart :) to answer with an example code to encrypt/de by EL-Gamal ECC in java(jdk 7 or 8) native ?