in reply to Storing credentials in a cross-platform binary file?

Just encrypt the file using an algorithm that is available on all of the platforms you need to support.

Then you still run into the question "But where do I store the key to decrypt that file?"

You cannot stop a determined hacker. You can, however, help to keep honest people honest.

An alternative is to "sign" the password file. If it is changed, it will no longer match the signature.

  • Comment on Re: Storing credentials in a cross-platform binary file?

Replies are listed 'Best First'.
Re^2: Storing credentials in a cross-platform binary file?
by tilly (Archbishop) on Sep 12, 2008 at 03:43 UTC
    Why would you ever need to decrypt it?
      Why would you ever need to decrypt it?
      So that you could use the password?