curve25519-java icon indicating copy to clipboard operation
curve25519-java copied to clipboard

Pure Java and JNI backed Curve25519 implementation.

Results 17 curve25519-java issues
Sort by recently updated
recently updated
newest added

With Java 17 being available on desktop, mobile and embedded, I believe it makes sense to have this great library using the latest Java (and tools).

how can i used in springboot project, my child model used it but parent on runing give me a error message: ` Exception in thread "main" java.lang.NoSuchMethodError: com.sun.jna.Native.load(Ljava/lang/String;Ljava/lang/Class;)Lcom/sun/jna/Library; at org.whispersystems.curve25519.NativeCurve25519Provider.(NativeCurve25519Provider.java:14)...

Fixes #40 Use Java 17 where possible (output to bytecode for Java 11 though) Create a module for this library (introducing a module-info.java) This PR brings all relevant code in...

Added XVEdDSA VRF support, upgraded gradle build. Passes all tests and rewritten scalarmult function as compared to the jni c implementation.

Also, Gradle was updated and JMH benchmarks tests were added for VRF, signatures and keys methods. Code was ported from https://github.com/signalapp/libsignal-protocol-c

Fixes issue #14 When using the Android library and both minSdk and targetSdk are missing, the app gets "featured" automatically with three sensitive permissions, which did not exist before Android...

The method `calculateSignature` of `Curve25519` instances doesn't take an explicit `random` parameter since 0f10718, but rather generates it implicitly before passing it on to the provider.

This function is called from "uopen_modified.c" without being declared in anything included by that source file. Putting the declaration here fixes that issue.

This file makes calls to malloc() and free(), without including the header file that declares them.

public Curve25519KeyPair generateKeyPair(byte[] random) added to provide ability to pass random bytes from outside