Skip to content

Added Ed25519 to X25519 key conversion & tests#590

Open
catbref wants to merge 1 commit into
bcgit:masterfrom
catbref:master
Open

Added Ed25519 to X25519 key conversion & tests#590
catbref wants to merge 1 commit into
bcgit:masterfrom
catbref:master

Conversation

@catbref

@catbref catbref commented Sep 12, 2019

Copy link
Copy Markdown

Additions to org.bouncycastle.math.ec.rfc8032.Ed25519 class to convert Ed25519 private† and public keys to X25519 form.

† Possibly Ed25519 "seed" depending on terminology?

Ed25519.toX25519PublicKey() can sometimes return null if it's not possible to decode 'y' from Ed25519 public key.

Might be of use to some other people?
Includes tests added to org.bouncycastle.math.ec.rfc8032.test.Ed25519Test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant