On Wed, Apr 27, 2016 at 08:47:14AM -0400, Paul Smith wrote:
> So creating small programs that automate my day specifically logins, how
> can one "hash" or hide the user and pass items in the python script itself?
You can't, really.
For *low security* passwords, or a trusted environment, you may
Paul Smith wrote:
> So creating small programs that automate my day specifically logins, how
> can one "hash" or hide the user and pass items in the python script
> itself? I need to prevent someone from easily seeing or accessing these if
> they happen to gain access to my python files. Thanks
>I need to prevent someone from easily seeing or accessing these if they
>happen to gain access to my python files. Thanks in advance.
If they can read your script, they can also reverse engineed the code and
decode your user/pass.
(Also, "hashing" is a one way destructive operation, you can
So creating small programs that automate my day specifically logins, how
can one "hash" or hide the user and pass items in the python script itself?
I need to prevent someone from easily seeing or accessing these if they
happen to gain access to my python files. Thanks in advance.