This demo code includes:
- ECC private/public key generation to file
- Encrypt and Decrypt text
run code:
mvn compile exec:java -Dexec.mainClass="com.ad3bay0.crypto.ECC"
Reference:
https://zhishenyong.com/ecc-asymmetric-encryption
https://mkyong.com/java/java-asymmetric-cryptography-example
https://cryptobook.nakov.com/asymmetric-key-ciphers/elliptic-curve-cryptography-ecc