Post
Topic
Board Development & Technical Discussion
Topic OP
Signing messages using Bitcoin libraries
by
agourbet
on 03/06/2020, 13:09:21 UTC
Hello, i am a Java developer and i am experimenting with signing and verifying messages using Bitcoin elliptic curve keys. I would like to ask the ones that have a bit more experience that me about this topic. I have create an endpoint in which a user can send me a signed message using his Bitcoin private key and his public key. Later i am calling the verifymessage function using BitcoinJ library in order to check if the message was signed by the private key of the user. The issue that i am having is that even though the same endpoint works for users that use BitcoinJ library, it doesn't work for users that use a php library that does the same things as BitcoinJ library. So my question is, is it possible that an implementation in Java, of verifymessage function for Bitcoin network, uses different algorithms to make calculations from a php library or Javascript library? Thank you