|
|
|
|
|
by twright0
1162 days ago
|
|
What gives you confidence its explanations are accurate? > write and explain me more optimised algorithms for certain cryptographic operations This domain in particular strikes me as a poor choice for this approach. "Don't roll your own crypto... but definitely don't let a language model roll it for you, either" |
|
Re: crypto algorithms, the quert in question was implementing exponentiation for arbitrary sized integers. My own implementation was taking until the heat death of the universe to finish for big integers and I didn’t want to just copypasta an impl from elsewhere.
ChatGPT‘s worked flawlessly and it was able to explain me certain tricks it used in depth (which I could independently verify from other sources).
Would I ship it to prod? Not without a security audit, but that ought to be the case regardless when rolling your own (or even someone else‘s) cryptography :)