ed25519-java
ed25519-java copied to clipboard
Pure Java implementation of EdDSA
Maven central was alerting about a vulnerability on JUnit dependency. I added OWASP plugin to confirm it and upgraded JUnit. Also removed IntelliJ idea folder and iml. 
code: ```java import java.io.BufferedReader; import java.io.FileReader; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.PrivateKey; import java.security.Signature; import java.util.Base64; import net.i2p.crypto.eddsa.Utils; import net.i2p.crypto.eddsa.EdDSAEngine; import net.i2p.crypto.eddsa.EdDSAPrivateKey; import net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable; import net.i2p.crypto.eddsa.spec.EdDSAParameterSpec; import net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec; public class...
I currently use this library directly from this project importing it via maven with: ``` net.i2p.crypto eddsa 0.3.0 ``` From other issues here, it feels, that the development focus more...
Hi! I recently looked into testing the compatibility between [Yubico/java-webauthn-server](https://github.com/Yubico/java-webauthn-server) and ed25519-java, and I quickly ran into a small issue: the JCA provider algorithm names differ from [those used in...
During an investigation of the security of EdDSA, published in: https://eprint.iacr.org/2020/1244 We have found a malleability issue in ed25519-java, specifically in v. 0.3.0. The issue, detailed in the paper, is...
We need to export the `math` package so that we can use the `Curve` field exposed by the public `EdDSAParameterSpec` class inside an OSGi framework.
A simple computation as: ``` final FieldElement nodeSecret = Utils.getRandomFieldElement(); final GroupElement nodeKey = Utils.basePoint.scalarMultiply(nodeSecret.toByteArray()); final FieldElement termSecret = Utils.getRandomFieldElement(); final GroupElement termKey = Utils.basePoint.scalarMultiply(termSecret.toByteArray()); nodeKey.scalarMultiply(termSecret.toByteArray()); ``` Fails with: ```...
Most likely I am missing something obvious, not having a lot of experience with cryptographic APIs - apologizes if that is the case. I am trying to general a pub/priv...
Since this is a Maven-based build system, the IntelliJ project files and folder should not be committed to git. Also, while looking into the ed25519.iml file, I realized different dependencies...
Currently the Curve25519-specific arithmetic is closely-coupled to its use in this EdDSA implementation. Part of the reason for this was to make it theoretically easier to generically support other EdDSA...