Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BIP32-Ed25519 implementation #174

Merged
merged 7 commits into from
Jul 2, 2019

Conversation

semuxgo
Copy link
Contributor

@semuxgo semuxgo commented Jul 1, 2019

Resolves issue #171

There is no standards for the extended keys format, so we propose the follow specs:

.. chain code key data
Extended Private Key .. c (32 bytes) kL (32 bytes) + kR (32 bytes)
Extended Public Key .. c (32 bytes) A (32 bytes)

@semuxgo semuxgo requested a review from orogvany July 1, 2019 21:49
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.12.2</version>
<version>3.11.1</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you intend to downgrade these versions?

Copy link
Contributor Author

@semuxgo semuxgo Jul 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are version conflicts between dependencies. check mvn dependency:tree -Dverbose

Copy link
Collaborator

@orogvany orogvany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You made it look easy. Would like to see cardano vector tests added. But can add them later. Think I have them somewhere already done


@Test
public void testRoot() {
System.out.println("k = " + Hex.encode(root.getPrivateKey().getKeyData()));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer logger

@semuxgo semuxgo merged commit ceb6bac into semuxproject:develop Jul 2, 2019
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.

2 participants