Re: Recovering public key from hash and signature
Uri Blumenthal <[email protected]> Wed, 22 Sep 2021 18:38:02 -0400
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: > > 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 goal? Thank you so much! > > Il giorno domenica 19 settembre 2021 alle 21:45:26 UTC+2 Jeffrey Walton ha scritto: >> On Sun, Sep 19, 2021 at 5:09 AM Luca Bonaldo <[email protected]> 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 much just to find myself at the start point. I'll leave my code here, hope that someone can help me. >> > >> > https://www.codepile.net/pile/Jx2RlQxm >> >> You should probably take a look at >> https://www.cryptopp.com/wiki/Main_Page. It has lots of examples. >> >> Jeff > > -- > You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/547f5190-b89b-4068-a594-29e231579ed2n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/03187FDB-FE20-4A40-8E6E-51EB37656EE5%40gmail.com.
smime.p7s
(application/pkcs7-signature, 2.8 KB) - not displayed