Re: [cryptopp-users] Recovering public key from hash and signature

2021-09-22 Thread Uri Blumenthal
It should be obvious, but you cannot verify (as in "technically impossible") a digital signature without having public key of the signer. It is not recommended to re-invent the basic digital signature algorithms or implementations. > On Sep 22, 2021, at 15:30, Luca Bonaldo wrote: > > Hi

Re: [cryptopp-users] Recovering public key from hash and signature

2021-09-22 Thread Luca Bonaldo
Hi Jeff, I apologize for my insistance but I do really need support. I'm writing this code for an important project and I cannot wrap my head around a solution. If I'm not asking for too much, could you please guide me to the correct wiki's pages or help me writing a pseudo code to achieve my

Re: [cryptopp-users] Recovering public key from hash and signature

2021-09-19 Thread Jeffrey Walton
On Sun, Sep 19, 2021 at 5:09 AM Luca Bonaldo wrote: > > Hi, I was writing a library to generate a pair of keys, use the private key > to sign a hash and finally verify the signature only knowing the hash and the > signature. > > I'm having quite a hard time doing that, in fact I searched so

[cryptopp-users] Recovering public key from hash and signature

2021-09-19 Thread Luca Bonaldo
Hi, I was writing a library to generate a pair of keys, use the private key to sign a hash and finally verify the signature only knowing the hash and the signature. I'm having quite a hard time doing that, in fact I searched so much just to find myself at the start point. I'll leave my code