On Mon, Apr 24, 2023 at 11:55 AM Dwight Kulkarni <dwi...@realtime-7.com> wrote: > > Thank you for this, I just figured it out also with slightly different code. > > Here is my version. The issue was that I was converting it to vector<unsigned > char> and there was a bug in the conversion which was hard to debug because > every time the message is changing. >
To make debugging easier, use a deterministic generator. It will produce the same output across runs. https://www.cryptopp.com/wiki/RandomNumberGenerator#Reproducibility . Obviously, don't use it for release or production software. 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/CAH8yC8n92KjaLcH3oa%3DyB9MM8G9MLLmn6UeDbmgcr74yiEoOfQ%40mail.gmail.com.