Skip to content

JNI ECDSA adaptor sigs #2

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

Closed
wants to merge 5 commits into from
Closed

JNI ECDSA adaptor sigs #2

wants to merge 5 commits into from

Conversation

rorp
Copy link

@rorp rorp commented Apr 4, 2020

Inspired by jonasnick#14


public static byte[][] adaptorSign(byte[] data, byte[] adaptorPoint) throws AssertFailException{
Preconditions.checkArgument(data.length == 32 &&
adaptorPoint.length <= 32); // is it corrects?
Copy link

Choose a reason for hiding this comment

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

I think it's 64 bytes if it's a secp256k1_pubkey.

@rorp rorp closed this Apr 5, 2020
@rorp rorp deleted the ecdsa_adaptor_sigs branch April 5, 2020 00:35
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