Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53827

Re: file handling issues

From Piet van Oostrum <piet@vanoostrum.org>
Newsgroups comp.lang.python
Subject Re: file handling issues
Date 2013-09-07 15:33 -0400
Message-ID <m2ob84pgup.fsf@cochabamba.vanoostrum.org> (permalink)
References <ebbd1657-e0c8-44c7-ad35-eddf7fa9db2a@googlegroups.com> <m261ueq60w.fsf@cochabamba.vanoostrum.org> <43df7574-a7cd-45e2-a067-ae9c83c3a720@googlegroups.com> <41b6c459-ea3b-4714-9c52-fa916bd5c15c@googlegroups.com>

Show all headers | View raw


Leo Carnovale <leo.carnovale@gmail.com> writes:

> Ah and one other thing!
> What is this crypto algorithm you speak of? I desperately need some sort of encryption as at the moment anyone can simply open the text file and change the numbers to numbers that work! 
> Where can I learn more about it?

You can google for cryptography or look in Wikipedia. Now the question
is: will this game be played through the internet or on someone's
computer? If it is run on a computer then both the program and the
keyfile will be on that computer, so whatever algorithm you use the user
can use it either to detect the password derived from the key or choose
his own password and generate the corresponding key and put it in the
file. Or even change the program and take the check out. You could use
some obfuscation to make it difficult, like they do in DRM but basically
you cannot hode it from the user. If you use an internet connection then
of course you can keep the relevant data outside of the reach of the
user.
-- 
Piet van Oostrum <piet@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

file handling issues leo.carnovale@gmail.com - 2013-09-06 03:20 -0700
  Re: file handling issues leo.carnovale@gmail.com - 2013-09-06 03:22 -0700
  Re: file handling issues Piet van Oostrum <piet@vanoostrum.org> - 2013-09-06 12:17 -0400
    Re: file handling issues Leo Carnovale <leo.carnovale@gmail.com> - 2013-09-06 20:03 -0700
      Re: file handling issues Leo Carnovale <leo.carnovale@gmail.com> - 2013-09-06 20:05 -0700
        Re: file handling issues Michael Torrie <torriem@gmail.com> - 2013-09-06 21:58 -0600
          Re: file handling issues Leo Carnovale <leo.carnovale@gmail.com> - 2013-09-06 23:22 -0700
        Re: file handling issues Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-07 13:37 -0400
        Re: file handling issues Piet van Oostrum <piet@vanoostrum.org> - 2013-09-07 15:33 -0400

csiph-web