On Tue, Apr 16, 2024 at 1:44 PM One Sini <ones...@gmail.com> wrote:
> I wasn't entirely satisfied with the security, so I've adjusted the code. > I'm not sure if that helps you, depending on what you're doing with it. > > This code uses RSA with OAEP (Optimal Asymmetric Encryption Padding) to > avoid security issues like padding oracle attacks. It generates RSA keys > with a length of 2048 bits, encrypts the message with OAEP padding, and > then decrypts it. > OAEP was a red herring. OP wants to use a RSA signature scheme, not an encryption scheme. (His mention of OAEP was the reason I originally posted a link to RSA Encryption Schemes). 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 cryptopp-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8%3DYDGCNLMcN8RRKO08%3DZ3ytZcM0xswyJtH%2BDs9bfKENEA%40mail.gmail.com.