hiding global variables
- From: yahalom <yahalome@xxxxxxxxx>
- Date: Sun, 2 Nov 2008 06:58:36 -0800 (PST)
hi
we are using aes package and we want the key to be global so all
places using the package can use this global variable. we thought of
keeping the global creation key in one utilites file that is sourced
by all. we use tclcompiler to bytecode the application so all is
hidden. but tcl introspection abilities (info globals) allow me to see
that there is a global variable which then easily is seen. how can I
hide this global variable? is there another approach for a global key
file being used in many places in the files? what I want is to make it
hard for a hacker to find out the key. I know I can hard code the key
in all files and use 'sed' or something like it to change the key but
this will create a big overhead for patches.
thanks a lot
.
- Follow-Ups:
- Re: hiding global variables
- From: Donal K. Fellows
- Re: hiding global variables
- From: Alexandre Ferrieux
- Re: hiding global variables
- Prev by Date: Re: tcludp - bug when closing 1-of-2 listening ports
- Next by Date: Re: tcludp - bug when closing 1-of-2 listening ports
- Previous by thread: TclInitBinaryCmd, TclMakeEnsemble patches
- Next by thread: Re: hiding global variables
- Index(es):
Relevant Pages
|