Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 891 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 891 Bytes

eciesjava

Build

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

Read Ecies class javadoc

Release Notes

0.0.1

  • First alpha release