I need to encrypt a small string in Python. Is it possible to use a secret key to encrypt the string? Is there a good way to do this and achieve a reasonable encryption level using only Python libraries? Could you show me how to do this?
My knowledge about cryptography is quite basic.
I solved this by using a lightweight XTEA library that i found on ASPN. It doesn’t require any additional Python libraries and is quite simple to implement whilst acheiving a resonable encryption level.