I'm interested in reimplementing a python version of the new ChaCha20Poly1305@Bitcoin AEAD and fuzzing it against the C++ implementation. However since it involves invoking a python interpreter from inside a C++ file, I'm confused on how to proceed.
Possible Approaches
- using pipes to call the python script from the C++ file.
- using pybind11 to create the python C++ interface (idea from this PR). However the python to C++ code for the AEAD wouldn't be very readable here.
Would method 1 be ok? I'd love to hear your thoughts on how to proceed.