ecies / java

Elliptic Curve Integrated Encryption Scheme for secp256k1 in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Elliptic Curve Integrated Encryption Scheme for secp256k1 in Java


Languages

Language:Java 100.0%