eciesjava
Elliptic Curve Integrated Encryption Scheme for secp256k1 in Java.
This is the Java version of eciespy with a built-in class-like secp256k1 API, you may go there for detailed documentation and learn the mechanism under the hood.
If you want a WASM version to run directly in modern browsers or on some blockchains, check ecies-wasm.
Quick start
ECKeyPair ecKeyPair = Ecies.generateEcKeyPair(); String encrypted = Ecies.encrypt(ecKeyPair.getPublicHex(true), "MESSAGE_TO_ENCRYPT"); String decrypted = Ecies.decrypt(ecKeyPair.getPrivateHex(), encrypted);
API
Release Notes
0.0.1
- First alpha release