Re: Re: No-throw api for AES128?
Arik Agazarian <[email protected]> Sat, 4 Nov 2023 19:18:46 +0100
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <CAOLESwngXaRasEKge7=YvWuGbfGkQf9QwsX6taK=DjmzGUcDjw@mail.gmail.com> |
--000000000000ab3a9e060957a726 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable We Need wallet address of 7 months for clean transactions, traceable on Blockchain, Ratio 45%/45%/10% Sender/Reciever/Mandate Telegram sender: @Arik_loader On Thu, Nov 2, 2023, 7:27 PM Catherine Issabel <[email protected]> wrote: > > $500 million dollars available only for good and trusted receiver or > mandate > Kindly contact the sender for more information:+1 (336) 345-9681 > On Friday, June 30, 2023 at 9:33:47=E2=80=AFAM UTC+1 Daniel Fricot wrote: > >> How can we configure padding when using >> StreamTransformation::ProcessString()? >> Daniel >> >> Op woensdag 29 maart 2023 om 15:38:45 UTC+2 schreef Jeffrey Walton: >> >>> On Monday, January 9, 2023 at 5:53:38=E2=80=AFAM UTC-5 Daniel Fricot wr= ote: >>> >>> Is there a no-throw api for AES128? Currently, I am using >>> CryptoPP::StreamTransformationFilter for AES128 which may throw >>> CryptoPP::InvalidCiphertext. This is not an error of course, it is expe= cted >>> behavior but our coding guidelines prefer no-throw api's. All throws (e= ven >>> catched throws) are logged in our application and we want to keep this = to a >>> minimum. >>> Thanks, >>> >>> >>> You can use a cipher's StreamTransformation::ProcessString() directly >>> rather than the StreamTransformationFilter. >>> >>> The benchmarks use the same pattern. Also see >>> >>> * https://www.cryptopp.com/wiki/Benchmarks#Sample_Program >>> * https://www.cryptopp.com/wiki/Advanced_Encryption_Standard >>> >>> 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/f6f77bdb-7c45-4f42-bb6c-= a723eee039b7n%40googlegroups.com > <https://groups.google.com/d/msgid/cryptopp-users/f6f77bdb-7c45-4f42-bb6c= -a723eee039b7n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter> > . > --=20 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 e= mail to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/= cryptopp-users/CAOLESwngXaRasEKge7%3DYvWuGbfGkQf9QwsX6taK%3DDjmzGUcDjw%40ma= il.gmail.com. --000000000000ab3a9e060957a726 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div dir=3D"auto">We Need wallet address of 7 months for = clean transactions, traceable on Blockchain,=C2=A0</div><div dir=3D"auto">R= atio 45%/45%/10%</div><div dir=3D"auto">Sender/Reciever/Mandate</div><div d= ir=3D"auto">Telegram sender: @Arik_loader</div><div dir=3D"auto"><br></div>= </div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">= On Thu, Nov 2, 2023, 7:27 PM Catherine Issabel <<a href=3D"mailto:issabe= [email protected]">[email protected]</a>> wrote:<br></div><b= lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px = #ccc solid;padding-left:1ex"><br>$500 million dollars available only for go= od and trusted receiver or mandate <br>Kindly contact the sender for more i= nformation:+1 (336) 345-9681<br><div class=3D"gmail_quote"><div dir=3D"auto= " class=3D"gmail_attr">On Friday, June 30, 2023 at 9:33:47=E2=80=AFAM UTC+1= Daniel Fricot wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">= How can we configure padding when using StreamTransformation::ProcessString= ()?<div>Daniel<br><br></div><div class=3D"gmail_quote"><div dir=3D"auto" cl= ass=3D"gmail_attr">Op woensdag 29 maart 2023 om 15:38:45 UTC+2 schreef Jeff= rey Walton:<br></div></div><div class=3D"gmail_quote"><blockquote class=3D"= gmail_quote" style=3D"margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"><div><div dir=3D"auto">On Monday, January 9, 2023 at= 5:53:38=E2=80=AFAM UTC-5 Daniel Fricot wrote:<br></div><blockquote style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">Is there a no-throw api for AES128? Currently, I am using Crypto= PP::StreamTransformationFilter for AES128 which may throw CryptoPP::Invalid= Ciphertext. This is not an error of course, it is expected behavior but our= coding guidelines prefer no-throw api's. All throws (even catched thro= ws) are logged in our application and we want to keep this to a minimum.<di= v>Thanks,</div></blockquote><div><br></div></div><div><div>You can use a ci= pher's StreamTransformation::ProcessString() directly rather than the S= treamTransformationFilter.</div><div><br></div><div>The benchmarks use the = same pattern. Also see</div><div><br></div><div>* <a href=3D"https://www.cr= yptopp.com/wiki/Benchmarks#Sample_Program" rel=3D"nofollow noreferrer" targ= et=3D"_blank">https://www.cryptopp.com/wiki/Benchmarks#Sample_Program</a></= div><div>* <a href=3D"https://www.cryptopp.com/wiki/Advanced_Encryption_Sta= ndard" rel=3D"nofollow noreferrer" target=3D"_blank">https://www.cryptopp.c= om/wiki/Advanced_Encryption_Standard</a><br></div><div><br></div><div>Jeff<= br></div></div></blockquote></div></blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;Crypto++ Users" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" targ= et=3D"_blank" rel=3D"noreferrer">[email protected]= m</a>.<br> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/cryptopp-users/f6f77bdb-7c45-4f42-bb6c-a723eee039b7n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" target=3D"_blank" rel= =3D"noreferrer">https://groups.google.com/d/msgid/cryptopp-users/f6f77bdb-7= c45-4f42-bb6c-a723eee039b7n%40googlegroups.com</a>.<br> </blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Crypto++ Users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">cryp= [email protected]</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/cryptopp-users/CAOLESwngXaRasEKge7%3DYvWuGbfGkQf9QwsX6taK%3DDjmz= GUcDjw%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://gro= ups.google.com/d/msgid/cryptopp-users/CAOLESwngXaRasEKge7%3DYvWuGbfGkQf9Qws= X6taK%3DDjmzGUcDjw%40mail.gmail.com</a>.<br /> --000000000000ab3a9e060957a726--