str4d / ed25519-java

Pure Java implementation of EdDSA
Creative Commons Zero v1.0 Universal
217 stars 73 forks source link

Is the libray support translation between Ed25519 and Curve25519? #81

Closed Tougee closed 4 years ago

Tougee commented 4 years ago

Hi, thanks for the library, a great implementation of Ed25519.

I'm try to find a way to convert Ed25519 public key(or private key) to Curve25519, like libsodium here.

https://github.com/jedisct1/libsodium/blob/927dfe8e2eaa86160d3ba12a7e3258fbc322909c/src/libsodium/crypto_sign/ed25519/ref10/keypair.c#L46-L83

The API of 2 library has lots of differences, could you please give some suggestions about this?

Tougee commented 4 years ago

No need for this, so close this.