Skip to content
/ java Public
forked from DmitriyShaplov/ecies

Elliptic Curve Integrated Encryption Scheme for secp256k1 in Java

Notifications You must be signed in to change notification settings

ecies/java

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%