preferred embodiments of the present invention and their advantages may be understood by referring to fig2 - 11 , wherein like reference numerals refer to like elements , and are described in the context of a wi - fi network . nevertheless , the present invention is applicable to both wired or wireless communication networks in general . for example , the present invention enables secure end - to - end access between a client and any computer residing on a network backbone . often there may not be a wireless component anywhere in such a situation . the present invention implements a secure , local , edge method and system ( the implementation of which is herein referred to as communicating in a “ secure ” mode ) employing a combination of software routines and physical keys in the form of easy - to - use adapters that attach to existing computing devices and wireless access points via an available usb port . these physical keys are secure , tamper - resistant physical tokens . “ edge ” refers to authentication of client devices taking place at the edge or outer boundary of the network , i . e ., at the access point , rather than centralized within the network using a server . client computing devices are authenticated and data security is provided across wireless links using secret cryptographic keys , which are pre - stored in the physical keys installed at both the client &# 39 ; s computing device and the access point . according to an embodiment of the invention , special access point software (“ ap software ”) is provided in the wireless access points and nic drivers are provided in the client devices to realize the functions described herein and to ensure delivery of standard wi - fi functionality as well as compatibility with all wi - fi certified products currently installed on a wi - fi network . [ 0041 ] fig2 illustrates a secure wi - fi network 200 according to an embodiment of the invention . wi - fi network 200 comprises a number n of computing devices 210 a - n communicating with one another via a wireless access point 220 . the access point 220 comprises a wi - fi transceiver ( not shown ) to communicate with a wired network ( not shown ). although each computing device 210 is shown as a laptop , other wi - fi enabled computing devices such as , but not limited to personal digital assistants ( pdas ), desktops , and workstations can be employed within network 200 . moreover , one of ordinary skill in the art recognizes that more than one wireless access point 220 may be implemented within network 200 . all computing devices 210 a - n can act as clients of network 200 . however , at least one computing device such as computing device 210 a is reserved as a host computer for administering the inventive features through residing administrative software ( not shown ) when necessary . in an alternative embodiment , the host computer can be another machine on the wired - side of the network . a master key 230 is installed into an available usb port ( not shown ) at host computing device 210 a during administration and management of the network 200 . to facilitate authentication and secure communications , a unique client key 240 a - n is installed into an available usb port ( not shown ) at each computing device 210 a - n . likewise , an access point key (“ ap key ”) 250 is installed into an available usb port ( not shown ) at access point 220 . it is important to note that the physical keys described herein are implemented via usb ports . one of ordinary skill in the art recognizes that the master key 230 , client keys 240 a - n , and ap key 250 can be alternatively implemented by other conventional or foreseeable connection configurations such as , but not limited to pc cards installed via a pci or isa slot ; a physical token connected via a serial , parallel , or other preferred type of port ; an ethernet card ; or a wireless smart card . in yet another implementation , the ap key 250 can be incorporated directly into the internal hardware of the access point 220 , thereby alleviating the need for an external physical ap key . the master key 230 , client keys 240 a - n , and ap key 250 overlap in functionality . particularly , each physical key comprises an embedded tamper - resistant subscriber identity module ( sim ) token 232 , 242 a - n , or 252 , respectively , unique to each key . in an embodiment of the invention , a cryptoflex usb - enabled sim chip is employed as the sim token . nevertheless , other conventional or foreseeable sims may be substituted . the ap key 250 differs slightly from both the master key 230 and the client keys 240 a - n in that it preferably employs a device usb connector rather than a standard usb connector . generally , a device usb connector is different from a standard usb connector only in physical layout . yet , they each carry the same signal wires to provide a usb interface to the usb - enabled sim chip , which typically communicates over a simplex data line at approximately 9600 bits - per - second . importantly , each physical key has a unique serial number stored permanently and electronically inside the sim by the manufacturer to provide positive identification . each sim comprises a random number generator . each client key 240 is used to authenticate and provide secure connections at a corresponding computing device 210 . once the special nic driver software is installed for a nic , the computing device 210 examines whether a wi - fi network exists and if found , attempts to authenticate itself with that network . if the network is enabled to operate in secure mode , all of the currently configured wireless settings of the computing device 210 are switched to secure mode and the login process is completely automated as further described . if the network is not secure mode enabled , the computing device 210 attempts to connect to it using standard wi - fi parameters . the smart nic driver replaces a standard driver associated via a standard wireless nic card , thereby providing the software necessary to manage communications with the client key 240 . this driver authenticates data packets and performs encryption / decryption functions during secure mode communications . like the master key 230 , the ap key 250 is first initialized so that it can be recognized by the administrative software and by the ap software as an ap key . the ap key 250 is used to activate functionality in access point 220 . in an embodiment of the invention , the access point 220 does not function without the ap key 250 installed . removal of the ap key 250 causes all associated network connections to be immediately broken and further wireless access through the access point 220 is not possible until the ap key 250 is reinserted . in an alternative embodiment , the access point 220 defaults to standard mode if the ap key 250 is not inserted . if the ap key 250 is inserted , for instance , the access point 220 facilitates the secure mode for properly enabled users , but also provides limited standard wi - fi communications for users not properly enabled to use the secure mode . if more than one access point is present within the network , each access point has its own unique ap key . the master key 230 , while identical in physical design to the client keys 240 a - n and the ap key 250 , performs additional functionality . particularly , the master key 230 is used by an administrator to manage a key database ( not shown ), which will be described in detail below , and the set of client keys 240 a - n and ap key 250 . the master key 230 is required to operate the administrative software and is used to initialize all client and ap keys . as described below , the master key 230 is initialized after receipt from the manufacturer to identify itself electronically to the administrative software as a master key . preferably , there is one master key 230 per network 200 , although duplicate master keys can be cloned for backup . when installed into a host computer running the administrative software , the master key 230 enables either the creation of or unlocking of the key database . as an optional extra security measure , the master key 230 must be unlocked with an appropriate pin stored inside the key to become active . if the master key 230 is lost , access to this database and hence maintenance of the network 200 is irretrievably lost . [ 0047 ] fig3 illustrates a key management system 300 according to an embodiment of the invention . particularly , the key management system 300 comprises the host computing device 210 a , the master key 230 , and a key database 310 . the master key 230 comprises a serial number , a master key network cryptographic send key (“ mks ”), a master key network cryptographic receive key (“ mkr ”), a master key cryptographic secret key (“ mk_ids ”), and a pin number . as will be described , mks , mkr , and mk_ids , example values of which are presented in hexadecimal form in the figure , are created upon initialization of the master key . mk_ids has no mathematical relationship to the master key serial number . use of the cryptographic keys will be described in further detail below . as previously mentioned , the pin number is used to unlock the master key 230 , i . e ., to access the data stored on sim 232 , and hence to access the key database 310 . the key database 310 , which is securely stored within a memory device of host computer 210 a , comprises individual records of every client key 240 a - n and ap key 250 initialized for use within network 200 . each individual client key record comprises a serial number of the corresponding client key and information such as name of person or computing device that the client key belongs to , location , company department , and any other administrative fields deemed necessary . each individual client key record is stored in encrypted form using the mk_ids . key database 310 is referenced by the serial number of the corresponding master key 310 and further comprises the identification of all active ap keys 250 on the network 200 and any pertinent administrative information . all encryption / decryption tasks described herein are preferably performed using an advanced encryption standard ( aes ) algorithm , the implementation of which is apparent to one of ordinary skill in the art . nonetheless , alternative cryptographic algorithms may be employed , the identification and implementation of which are also apparent to one of ordinary skill in the art . [ 0049 ] fig4 illustrates a master key management process 400 according to an embodiment of the invention for initializing the master key 230 and administering the key database 310 . the administrative software is first installed ( step 410 ) onto host computing device 210 a from a cd - rom or other suitable storage medium . upon execution ( step 415 ), the administrative software determines ( step 420 ) whether a master key 230 is inserted into an available usb port . if no master key 230 is present , the administrator is directed to insert ( step 425 ) a master key . once a master key 230 is inserted , it is analyzed to determine ( step 430 ) whether the master key 230 has been previously and properly initialized , or is currently blank , i . e ., mks , mkr , and mk_ids have not been created and stored within sim 232 . if the master key 230 is blank , it is first unlocked ( step 432 ) with entry of a correct transport pin or code . for example , a new master key 230 may be delivered with a transport code that an administrator must correctly enter to gain access to the sim 232 . after unlocking the master key 230 , the administrator may replace the transport code with a secret code or pin selected by the administrator for securing the card . thus , nobody else can utilize the master key 230 without knowing the secret code . the administrative software creates ( step 435 ) a mk_ids using a random number generator within the sim 232 . mk_ids has no mathematical relationship to the master key serial number . secret network cryptographic keys mks and mkr , which are respectively the send and receive network cryptographic keys common to all users on the network , are then generated ( step 440 ). for example , the administrative software instructs the sim 232 to generate three random numbers that become the mks , mkr , and mk_ids . mk_ids , mks , and mkr , in addition to any administrative information , are then installed ( step 445 ) into sim 232 of the master key 230 . in an embodiment of the invention , mks , mkr , and mk_ids are 256 - bit random numbers generated by sim 232 . the administrator is requested ( step 450 ) to enter a correct pin to lock the master key 230 , thereby completing initialization . the administrator is now allowed to create ( step 455 ) a new key database 310 and have it associated with the master key 230 through the master key serial number . if the master key 230 inserted is not blank , i . e ., it has already been properly initialized for either the current network 200 or another secure mode enabled network , the administrator is requested ( step 460 ) to enter the correct pin to unlock the master key 230 and gain access to the key database 310 . upon the entry of a correct pin , the serial number from the master key is retrieved ( step 465 ) to identify and open ( step 470 ) the appropriate key database 310 stored on host computer 210 a . individual client records within the key database 310 are decrypted with mk_ids as necessary and key management ( step 475 ), i . e ., management of client keys 240 a - n and / or ap key 250 , is enabled . in an embodiment of the invention , removal of the master key 230 while the administrative software executes automatically closes the key database 310 , thereby rendering the client records not viewable , and disabling all administrative and key management functions . later insertion of a master key with the administrative software still executing again enables the administrative and key management functions . if execution of the administrative software terminates with the master key 230 inserted , the key database 310 is automatically and securely closed . [ 0053 ] fig5 a illustrates a process 500 for generating a key database 310 according to an embodiment of the invention . host computing device 210 a must have a minimum of two free usb ports , one for the master key 230 and one for each sequential client key 240 added to the key database 310 . a properly initialized master key 230 is first inserted ( step 510 ) into host computing device 210 a . to gain access to the data stored within the master key 230 , and hence the key database 310 on host computer 210 a , a correct pin associated with the master key 230 must be entered ( step 515 ) by an administrator to activate the key . the administrative software then retrieves ( step 520 ) mk_ids and the master key serial number . the master key serial number is used to identify and open ( step 525 ) the corresponding key database 310 . a client key 240 is inserted ( step 530 ) into the host computer 210 a and the administrative software retrieves ( step 535 ) the serial number associated with that client key . the administrative software determines ( step 540 ) if the client key 240 has been previously initialized by identifying whether a corresponding client record exists within the key database 310 . if so , the administrative software allows the administrator to view the administrative information associated with the client key 240 by decrypting ( step 545 ) the corresponding key record with mk_ids . if the client key 240 has not been initialized for use with the present network , cryptographic keys mks and mkr stored within the master key 230 are copied ( step 550 ) to sim 242 . mks and mkr become the client &# 39 ; s cryptographic network send ( nks ) and receive ( nkr ) keys respectively , i . e ., mks is identical to nks and mkr is identical to nkr for that network . in an embodiment of the invention , the basic service set identifier ( bssid ), or ap mac address , associated with a particular access point 220 is installed ( step 550 ) into the client key 240 and associated with the copies of mks and mkr , i . e ., nks and nkr . if two or more access points 220 are present on one wi - fi network , the bssids of all or a portion of the access points 220 can be installed and associated with the nks and nkr present in client key 240 for that network . in a related embodiment , the ssid of the network can be installed in the client key 240 and associated with the nks and nkr copied at step 550 . as will be discussed further , upon a client device 210 first entering the communication range of a wi - fi network 200 and attempting to authenticate with a particular access point 220 , the bssid and / or ssid can be used to retrieve the appropriate and necessary nks and nkr cryptographic keys stored within the client key 240 and associated with that network , and hence associated with that access point 220 . a client key cryptographic secret key (“ ck_ids ”) is then generated ( step 555 ) having no mathematical relationship to the client key serial number . for example , sim 232 is instructed to generate a new 256 - bit random number for each new client key 240 . a simple sim command will cause the sim 232 to generate the number that can be read from the sim 232 into the host computer 210 a and then transferred to the client key 240 . a client key record is created ( step 560 ) comprising administrative information pertaining to the user or computing device associated with the client key 240 , the serial number of the client key 240 , and ck_ids encrypted ( step 565 ) with mk_ids . this client key record is then stored ( step 570 ) in the key database 310 . the administrator then has the option of initializing another client key ( step 575 ), wherein steps 530 - 570 are repeated for each additional client key 240 . in an embodiment of the invention , a client key 240 can be initialized for multiple secure mode enabled networks . particularly , sim 242 can comprise a set of parameters for each network ( or for individual access points ) for which it has been granted permission . each network requires the user to have a set of cryptographic network send and receive keys , and a cryptographic secret key pertaining to that network . an exemplary scenario is illustrated in fig5 b , wherein a client key 240 is initialized for three networks a , b , and c . sim 242 comprises an appropriate cryptographic network send and receive keys , and a cryptographic secret key for respective networks a , b , and c . in the example shown , these cryptographic keys are listed as nks a , nkr a , and ck_uids a for network a . the cryptographic keys for networks b and c ( not shown ) could be similarly designated . the nks a and nkr a employed at the client key are mirror images of the cryptographic keys employed in the access point of the corresponding network . for example , when the access point of network a sends a packet encrypted with nks a , the client employs nkr a to decrypt the packet . the key factor here is that to gain access to a new network , the administrator of that network has to install the cryptographic keys nks and nkr for that network in the user &# 39 ; s physical token , which is preferably performed via the local physical connection process as described herein in order to prevent the cryptographic keys from being transferred over an outside communications link . in a less preferred embodiment , a secure remote transfer process is implemented to transfer an encrypted communication comprising nks and nkr to the client device by using the client sim &# 39 ; s on - chip ability to perform cryptographic communications , the implementation of which is apparent to one of ordinary skill in the art . in a related embodiment of the invention , the bssid of one or more access points on a particular network is associated with that network &# 39 ; s cryptographic keys nks , nkr , and ck_ids stored within the sim 242 . in another related embodiment of the invention , the ssid of the network is associated with that network &# 39 ; s cryptographic keys nks , nkr , and ck_ids stored within the sim 242 . in an embodiment of the invention , all secure mode enabled networks are set to appear as “ wide - open .” that is , the ssid of all secure mode enabled networks is set to an identical identifier and wep is turned off . these settings ensure that regardless of the particular secure mode enabled network to which the user connects , the settings are identical . as will become apparent from the following the description , even though the secure mode enabled network appears to all potential users to be wide open , a user can connect to that network without having the proper respective network cryptographic keys nks and nkr . the authentication process discriminates between those users who have valid cryptographic keys and those who do not , thus blocking access to only legitimate users and denying access to all others . the client &# 39 ; s cryptographic secret key for that network ensures that all communications are securely encrypted . key management of the ap key 250 is performed according to the process 600 illustrated in fig6 . host computing device 210 a must have a minimum of two free usb ports , one for the master key 230 and one for the ap key 250 . upon execution ( step 610 ) of an appropriate ap key management subroutine within the administrative software , the administrator is requested ( step 615 ) to insert an ap key 250 into an available usb port . upon insertion of an ap key , the subroutine checks ( step 620 ) whether the inserted ap key is blank , i . e ., not initialized , or is an existing key belonging to network 200 or another secure mode enabled wi - fi network . if the ap key 250 is blank , the administrator is required ( step 625 ) to enter a correct pin to unlock the key . of course , failure to enter the correct pin in a certain number of attempts may optionally disable key management functions for a set period of time . once unlocked , the administrator enters ( step 630 ) one or more administration parameters appropriate to the access point 220 such as network identification , location , access point identification , etc . in an embodiment of the invention , the network identification is the ssid of the appropriate network and the access point identifier is its bssid . this information is stored within key database 310 and / or sim 252 of the ap key 250 . nks and nkr are then installed ( step 635 ) into sim 252 by copying the values of mkr and mks respectively . an access point cryptographic secret key (“ ap_ids ”) is then created ( step 640 ) from a random 256 - bit number generated by sim 232 and installed in the ap key 250 . ap_ids is encrypted with the mk_ids and subsequently stored with the ap serial number as an access point record in the key database 310 . it is important to note that the nks of the ap key 250 must match the nkr of the client keys 240 a - n for a particular network . likewise , the nkr of the ap key 250 must match the nks of the client keys 240 a - n . thus , when the master key 230 is used to initialize an ap key 250 , the mks is written into the ap key 250 as its nkr . the mkr is written into the ap key 250 as the nks . in other words , mks and mkr are flipped in the ap key 250 . moreover , when the master key is used to initialize a client key 240 , the mks is written into the client key 240 as nks ( not flipped ) and the mkr is written as the nkr . when the ap key 250 and client keys 240 a - n are used communicate , the ap &# 39 ; s nkr key is identical to the client &# 39 ; s nks key and the ap &# 39 ; s nks key is identical to the client &# 39 ; s nkr key . thus , a matched pair of cryptographic keys exists between each pair of endpoints on a secure mode enabled wi - fi network . in an alternative embodiment of the invention , nks and nkr of the client key 240 is flipped with respect to mks and mkr , and nks and nkr of the ap key 250 is not . if the ap key 250 has been previously initialized , it is determined ( step 645 ) whether the inserted ap key is associated with the current network 200 or another wi - fi network . if ap key 250 is associated with the current network 200 then the parameters of the key excluding any cryptography keys , which are maintained in secret , may be displayed ( step 650 ). for security protection , an administrator can never view or modify any of the cryptographic keys in either the master key 230 , client keys 240 a - n , or ap key 250 . if the inserted ap key is associated with another network , the appropriate parameters of the key may be displayed ( step 655 ). in an embodiment of the invention , one ap key 250 may be associated with a plurality of different secure mode enabled wi - fi networks . for example , if the ap key 250 is determined to be associated with another network , the administrator is queried ( step 660 ) as to whether it is desired to have the ap key 250 associated with the present network 200 . if so , then the administrator is requested ( step 625 ) to enter a correct pin to unlock the ap key . once unlocked , steps 630 - 640 are repeated for that ap key . [ 0062 ] fig7 illustrates a process 700 implemented by the administrative software to upload a client key database file to an access point 220 according to an embodiment of the invention . particularly , only information from the client records of key database 310 are uploaded to the access point 220 . process 700 requires that master key 230 is installed into host computer 210 a and ap key 250 is installed into access point 220 . particularly , an administrator selects ( step 710 ) via the administrative software an access point displayed from a list of all access points employed on the network 200 . the selected access point , e . g ., access point 220 , is then authenticated ( step 715 ) by implementing the authentication process described in the following paragraphs . using the serial number of the access point 220 , the ap_ids is retrieved ( step 720 ) from the key database 310 . importantly , the ap key 250 for that network has only one ap_ids , which is stored in sim 252 and also in the key database 310 . a client key database file comprising the serial numbers and ck_ids of all registered client keys 240 a - n is built ( step 725 ). no information pertaining to the ap key 250 is included in the client key database file , i . e ., transferred between the access point 220 and the host computer 210 a . the client key database file is encrypted ( step 730 ) using ap_ids stored within the key database 310 and then transferred ( step 735 ) to the access point 220 where it is decrypted using the ap_ids stored within sim 252 . in an embodiment of the invention , the access point 220 maintains the client key database file in non - volatile memory . as will be further described in greater detail , any time a client device 210 attempts to authenticate with the access point 220 , the client device 210 presents the serial number corresponding to its client key 240 . using this client key serial number , the access point 220 retrieves the corresponding ck_ids cryptographic key from the client key database file stored within the access point 220 . in an embodiment of the invention , each ck_ids is encrypted in host computer 210 a with ap_ids prior to uploading to the access point 220 . the client key database file within the access point 220 is a collection of client records . each client record comprises the plain text serial number and the encrypted ck_ids associated with the corresponding client key 240 . to use the ck_ids of the client key 240 when communicating with the client device 210 , the access point 220 pulls the corresponding record and then decrypts the encrypted ck_ids with ap_ids . a preferred embodiment of the invention places the serial number and secret cryptographic key of all authorized client keys in a client database that is uploaded to each access point . while this is the preferred embodiment applicable for most enterprise locations , some public access points cannot practically store a large client database , which may pertain to hundreds of thousands of users , each having a unique secret cryptographic key , who may access an individual access point . to address such a dilemma , the access point can be pre - configured with a smaller database of secret cryptographic keys based on for example , a modulus of the serial number . for instance , assume that there is a need to handle 100 , 000 potential customers , but the access point can only store the credentials for 5 , 000 customers , i . e ., only 5 , 000 secret cryptographic keys can be pre - stored in the access point . in an embodiment of the invention , the secret cryptographic key for each client key is derived by taking a modulus - 5000 operation of its serial number . thus , each client key will have an associated secret cryptographic key selected out of the possible pool of 5 , 000 cryptographic keys . while it is entirely possible that more than one client using an access point can in fact be implementing the same secret cryptographic key , no two users may have the same combination of unique serial number and secret cryptographic key . the nerve center of the system is the ap software executing at access point 220 . the ap software facilitates the authentication of a client computing device 210 attempting to access network 200 . fig8 illustrates a mac address filtering system 800 implemented by the ap software at the access point 220 according to an embodiment of the invention . particularly , authentication system 800 comprises a network interface card 810 , an authorized clients mac table 830 , an unauthorized client table 840 , and a “ do not allow ” table 850 . nic 810 facilitates communications between the access point 220 and the client devices 210 a - n . the authorized clients mac table 830 comprises the mac address of all client devices 210 , which are presently authorized to communicate on the network 200 . the unauthorized client table 840 comprises the mac address of all client devices 210 pending authentication . the “ do not allow ” table 850 comprises the mac address of all devices that have failed authentication the client device authentication process is now described with reference to fig9 - 10 . particularly , fig9 a illustrates the exchange of authentication frames between the client device 210 with a properly configured client key 240 installed and the access point 220 with a properly configured ap key 250 installed during the second step of authentication . fig9 b - c illustrate an exemplary format and contents of these authentication frames . fig1 illustrates an authentication process 1000 implemented by the access point 220 and the client device 210 . referring to fig9 a , the access point 220 and the client device 210 via respective nics 810 and 910 communicate with each other on a wi - fi channel 920 . during the implementation of the authentication process 1000 , two authentication frames 922 and 924 are exchanged via wi - fi channel 920 . in the exemplary embodiment illustrated , the client key 240 is initialized for , and hence authorized to use upon successful authentication , three secure mode enabled networks a , b , and c . for example , the client key 240 holds a unique set of the three parameters nks , nkr , and ck_ids for each secure mode enabled network to which it has permission . optionally , a bssid of a particular access point on each network a , b , or c is associated with each appropriate set of cryptographic parameters . for example , bssid 1c represents the bssid of the access point 220 on network c . similarly , bssid 1a and bssid 1b are associated with an access point on respective network a or b . the network send / receive cryptographic keys of each network are flipped between the access point 220 and the client device 210 . in other words , the network send cryptographic key of the access point 220 is identical to the network receive cryptographic key of the client device 210 , i . e ., nkr 1c = nks 2c and nkr 2c = nks 1c for network c . the subscript designates the particular network a , b , or c , and which device the physical key resides in , e . g ., “ 2 ” designates client device 210 and “ 1 ” designates access point 220 . example values of these parameters along with the serial numbers , random numbers , secret cryptographic keys ap_ids 1 and ck_ids 2a , b , or c , and bssid 1a , b , or c are presented in the figure to better illustrate the authentication process . it is important to note that nkr and nks are private cryptographic keys stored in the physical keys 230 , 240 a - n , and 250 . in an alternative embodiment of the invention , other types of cryptographic keys such as public / private cryptographic keys may be employed , the implementation of which is apparent to one of ordinary skill in the art . the format of the authentication frames follow a standard 802 . 11 authentication framing format , the implementation of which is apparent to one of ordinary skill in the art . as depicted in fig9 b - 9 c , each frame comprises an authentication algorithm number preferably set to an integer number undefined in the 802 . 11 specifications , e . g ., “ 3 ”, thereby designated that the authentication process 1000 is to be implemented . moreover , each frame further comprises an authentication transaction sequence number that is incremented at each stage in the process ; a status code that is set to “ 0 ” if the stage is successful ; and a challenge text field (“ challenge ”) that comprises the particular authentication parameters . optionally , a cyclic redundancy check ( crc ) can be appended to each message to insure the data integrity of each frame . once in the secure mode , the access point 220 or the client device 210 will not accept an authentication frame designating an authentication algorithm number other than “ 3 ”. referring to fig1 , upon entering the communication range of a wireless wi - fi network c comprising the access point 220 ( dev_ 1 c ), the client device 210 detects the presence of the network by either listening for a ‘ beacon ” frame or a “ probe response ” frame ( step 1002 ). the beacon or probe response frame comprises a bssid field that uniquely identifies the network and access point , and distinguishes the current access point from other access points . for example , the beacon or probe response frame for the access point 220 on network c comprises bssid 1c . in an embodiment of the invention , the client device 210 selects the appropriate network parameters based on the current bssid , e . g ., bssid 1c , of the network ( step 1004 ) received in the beacon or probe response frame . for example , the appropriate nks 2 a , nkr 2 a and ck_ids 2 a keys are selected which in the example shown are those of network # 2 . client device 210 sends ( step 1010 ) the authentication frame 922 to the access point 220 . the challenge of authentication frame 922 comprises the serial number of the client key 240 corresponding to the client device 210 attempting authentication and a first random number ( r 1 ) generated by sim 242 of the client key 240 . the challenge is encrypted with ck_ids 2c , which is stored within sim 242 of the client key 240 . upon reception of authentication frame 922 , the client key serial number allows the access point 220 to retrieve ( step 1015 ) the secret cryptographic key ck_ids 2c stored within the client key database file and associated with the client key 240 attempting authentication . the access point 220 then decrypts the challenge text with the ck_ids 2c ( step 1020 ) to obtain the random number r 1 generated by the client key 240 . if the decryption process yields a null ( empty ) string , the access point 220 knows the client device 210 is not a trusted device and therefore places ( step 1025 ) the mac address of the client device 210 in the “ do not allow ” table 850 . if the decryption process does not yield a ‘ null ’ or empty string , then the access point 220 knows that the client device 210 is a trusted component and places ( step 1030 ) the mac address of the client device 210 in the “ authorized users table ” 830 . one of the quirks of the decryption process is that the process returns either a decrypted string or a null string . a null string is a telltale indicator that the encrypted data could not be decrypted . thus , if the decrypted result is not a null string , it can be safely assumed that the encryption key matches the decryption key . the access point 220 forms an authentication response frame 924 featuring a second challenge comprising a second random number r 2 generated ( step 1035 ) by the sim 252 of the ap key 250 , which is encrypted ( step 1040 ) with the same ck_ids 2c associated with the client device 210 . this second challenge within authentication frame 924 is sent to client device 210 . the client device 210 receives and decrypts ( step 1045 ) the second challenge of authentication frame 924 using ck_ids 2c stored with sim 242 to obtain decrypted r 2 . if the decryption process yields an empty string , the client device 210 aborts ( step 1050 ) further communications with the access point 220 . if the decryption process does not yield a ‘ null ’ or empty string , then the client device 210 is assured ( step 1055 ) that it is talking to a trusted component . in other words , a properly decrypted r 2 indicates to the client device 210 that the access point 220 knows its secret key and therefore is a trusted component . both sides now know r 1 and r 2 and therefore must know the appropriate ck_ids . although not required , as an added safety measure , frames 922 and 924 are each encrypted with the common network cryptographic keys , e . g ., frame 922 with the client &# 39 ; s nks key and frame 924 with the access point &# 39 ; s nks key . decryption is performed at each end with the respective nkr key . an alternative method to using the bssid to determine the access point id , and hence network id , is easily understood by one of ordinary skill in the art . particularly , the client device 210 implements a “ brute force ” process by selecting each set of the network parameters stored in the sim token 242 sequentially to attempt authentication with the access point . for example , if the first set of network parameters are not successful in authenticating with the access point , the client device selects the next set of network parameters and continues the process until either a successful authentication takes place or the sets of network parameters are exhausted . in other words , based on the exemplary embodiment illustrated in fig9 a , the client device can first implement authentication process 1000 using the parameters of network a , e . g ., nks 2a , nkr 2a , and ck_ids 2a . if those don &# 39 ; t result in a successful authentication , then the parameters of network b are used , and then the parameters of network c , etc . until a successful authentication results . [ 0076 ] fig1 illustrates an authentication process 1100 according to an alternative embodiment of the invention . particularly , upon entering the communication range of a wireless wi - fi network , client device 210 selects ( step 1105 ) one of a number of network parameter sets previously stored in the sim token 242 . client device sends ( step 1110 ) a first challenge to the access point 220 . this challenge comprises the serial number of the client key 240 corresponding to the client device 210 attempting authentication and a first random number ( r 1 ) generated by sim 242 of the client key 240 . the challenge is encrypted with nks 2 , which is stored within sim 242 of the client key 240 . upon reception of the first challenge , the access point 220 decrypts ( step 1115 ) the challenge with nkr 1 , which is stored within sim 252 of the ap key 250 to extract the client key serial number and the first random number . the extracted client key serial number allows the access point 220 to retrieve ( step 1120 ) the secret cryptographic key ck_ids 2c stored within the client key database file and associated with the client key 240 attempting authentication . the access point 220 then obtains ( step 1125 ) a second random number ( r 2 ) generated in the sim 252 of the ap key 250 . the first random number r 1 is encrypted with ck_ids 2c obtained from the client key database file . encrypted r 1 is not referred to as r 1 e . the access point forms a second challenge comprising r 1 e and r 2 . this second challenge is then encrypted with nks 1 and sent ( step 1130 ) to client device 210 . the client device 210 receives and decrypts the second challenge of authentication frame 924 using nkr 1 to obtain r 1 e and r 2 . r 1 e is then decrypted ( step 1135 ) with ck_ids 2c from sim 242 . the client device 210 then compares ( step 1140 ) r 1 as originally sent with the r 1 e received to identify if they match . if they don &# 39 ; t match , the client device 210 aborts ( step 1145 ) further communications with the access point 220 . if a match is found , i . e ., r 1 e equals r 1 , the client device 210 knows the access point 220 is a trusted component . the client device 210 responds to the access point 220 with a final challenge . this challenge comprises the second random number r 2 encrypted at the access point 220 with the ck_ids 2c . encrypted r 2 is now referred to as r 2 e . the client device 210 sends ( step 1150 ) the third challenge encrypted with nks 2 to the access point 220 . the access point 220 decrypts ( step 1155 ) the third challenge with nkr 1 and then r 2 e with ck_ids 2c . the access point 220 then compares ( step 1160 ) r 2 as originally sent with the decrypted r 2 e received to identify if they match . if the random numbers do not match , the access point 220 knows the client device 210 is not a trusted device and therefore places ( step 1165 ) the mac address of the client device 210 in the “ do not allow ” table 850 . if r 2 e equals r 2 , the access point 220 knows that the client device 210 is a trusted component and places ( step 1170 ) the mac address of the client device 210 in the “ authorized users table ” 830 . in an alternative embodiment , if the authentication is not successful with a first set of network parameters , the client device can simply select the next set of network parameters as mentioned above , and repeat the process until the proper set of network parameters is found . in a related embodiment , the random numbers r 1 and r 2 are first encrypted with ck_ids 2c at the side of the connection where these numbers are generated . for example , the first challenge can comprise r 1 e instead of r 1 , which would then be returned in decrypted form to the client device 210 in the second challenge . moreover , the second challenge can comprise r 2 e instead of r 2 , which would then be returned in decrypted form to the access point 220 in the third challenge . the selection of the side that first encrypts these random numbers with ck_ids 2c is not important as long as a comparison is enabled between the random number as originally sent and the corresponding random number received in the subsequent challenge . thus , enabling each side to determine whether the other side of the connection is employing an identical ck_ids , and is therefore a trusted component . subsequent secure secret communications are implemented by a two - step encryption / decryption process according to an embodiment of the invention . first , there is the secret cryptographic key , e . g ., mk_ids , ck_ids , or ap_ids , stored in each of the master key 230 , the client keys 230 a - n , and the ap key 250 . each secret cryptographic key is initially generated randomly from and stored in the respective sim token within the corresponding physical key . these secret cryptographic keys are never used directly to encrypt / decrypt communications , but are used as a starting point for a transposition process , which is described below , based on the two random numbers r 1 and r 2 generated during the authentication process . in an embodiment of the invention , each secret cryptographic key is a 256 - bit cryptographic key . each of the bits are transposed according to a process using the first random number as the starting point and the second random number as the “ skip ” counter for stepping ahead to the next bit position to be transposed . the process results in a unique transposition of an original key that can be replicated exactly on each side of the communications link without any cryptographic key actually being transmitted . since the access point 220 knows the secret cryptographic keys of each of the potentially connecting users , e . g ., client devices 210 a - n , the secret cryptographic key of the authenticated client device 210 can be used in conjunction with the two ‘ just - now - generated ’ random numbers to derive a ‘ new , one - time ’ cryptographic key for encrypting / decrypting data . note that during the authentication process , the client key serial number is used as the identifier for the access point to obtain the client &# 39 ; s secret cryptographic key , i . e ., ck_ids , from the client key database file . as there is no mathematical relationship between client key serial number and the ck_ids , it is impossible to derive a calculated method of obtaining this secret cryptographic key . other embodiments and uses of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein . although the invention has been particularly shown and described with reference to several preferred embodiments thereof , it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims .