It works when I encrypt and decode from string in same script, but when sent to
DB looks like error with base64 encoding.
Error:
Traceback (most recent call last):
File "tmp2.py", line 82, in
main(1)
File "tmp2.py", line 73, in main
string = getCode(id,'ev_details')
File "tmp2.py
Hi Salvador,
I haven't looked to see a bug that would cause the exception you are
seeing, however the way you are created SQL strings leaves you vulnerable
to SQL injection attacks if an attack can control the "id" variable.
To be totally frank, I strongly recommend you familiarize yourself with