I have a program in C++ that uses the cryptopp
library to decrypt/encrypt messages.
It offers two interface methods encrypt
& decrypt
that receive a string and operate on it through cryptopp
methods.
Is there some way to use both methods in Python without manually wrapping all the cryptopp
& files included?
Example:
import cppEncryptDecrypt
string foo="testing"
result = encrypt(foo)
print "Encrypted string:",result