我有一个C++程序,它使用该cryptopp库来解密/加密消息.
它提供了两个接口方法encrypt和decrypt接收字符串,并通过对其进行操作cryptopp的方法.
有没有办法在Python中使用这两种方法而无需手动包装所有cryptopp包含的&文件?
import cppEncryptDecrypt
string foo="testing"
result = encrypt(foo)
print "Encrypted string:",result
Run Code Online (Sandbox Code Playgroud)