Encrypt Password and Username
Hey, I have a program that runs on a computer and connects to an SFTP server to download files. It needs to give the username and password to log in, and right now they are written out in the code. I don't want the user to be able to decomplie and see the credentials so I need to hide them somehow. I think encryption can help but I'm not familiar with how it works. Basically, I want use encrypting to get a string value that can't be seen in the code (decrypt) then login with it. Can someone please help explain some code and how I would go about doing this?