# Patent

## Title
Method for payload encryption of digital voice or data communications

## Abstract

A process using code segment which is installed over a transport medium, using a device, such as a network, for transmitting real-time end-to-end encrypted voice or data communications between at least a first digital device and a second device in real time is disclosed. The network includes a network portal for Registration, Key Management, Authentication, and Authorization of the first digital device and the second device. Accordingly, the devices are capable of securely communicating with each other in real-time by providing each digital device with at least first and second keys, and receives requests to communicate, provides authorization to set up a secure session, and encrypts and decrypts the voice and data messages sent to and received from the portal. The intent is to provide a low cost, COTS, real-time software voice and data encryption upgrade solution which is scalable, interoperable, and agnostic for all communications.

## Background
This application claims the benefit of our co-pending U.S. provisional patent application entitled “Method for Encrypting Wireless Voice Communications”, filed Mar. 18, 2008 and assigned Ser. No. 61/037,519, which is incorporated by reference herein.


FIELD OF THE INVENTION
The present invention relates generally to enhanced digital/IP security protection for Sensitive But Unclassified (SBU), proprietary and sensitive information, and more specifically to a digital device utilizing algorithms which provide secure encryption for a signal transmitted over a voice, data and/or communication link, cell phone, laptop or other electronic device that transmits a digital signal. Even more specifically, the present invention relates to an enhanced interoperable wireless or cell phone security system for sensitive but unclassified (SBU) digital traffic transmissions, utilizing payload encryption technologies and optional header modulation. The approach is intended to be commercially feasible, cost effective and affordable; provide ease of use, acceptable latency, and software which is installed directly to a device's allocated memory module without the need for a user to acquire new hardware; does not require excessive use of network resources; and does not require use of excessive amounts of payload bandwidth
BACKGROUND OF THE INVENTION
Wireless voice and data transmissions are vulnerable to eavesdropping and/or interception, and such interception is technically simple and difficult to detect. Not only are voice transmissions easy to monitor (even on digital networks), but the eavesdropper can also determine a target's mobile phone number while the transmission bounces between cellular tower sites. The potential market for security enhancements is extremely large, with potential users such as: (a) individuals who require privacy or want to protect confidential information such as account numbers; (b) businesses that want to protect proprietary or sensitive information; and (c) wireless device owners that have their monthly expenses paid directly or indirectly by the US government or its contractors and are required to add a security service. The intent is to encrypt “sensitive but unclassified” (SBU) voice and data, without requiring expensive techniques or special hardware. The approach is entirely software-based, and encryption can be implemented as a simple software upgrade to existing wireless devices. The potential market base includes (a) Individuals—for protecting private information and conversations; (b) Companies—for protecting proprietary/sensitive information; and (c) Government—for protecting SBU conversations and information.
It is known in the art, that a digital signal transmitted between a digital device and a base station can be encrypted to prevent or minimize interception by an unauthorized listener. While it may be possible to secure the radio frequency (RF) link between the digital device and the base, these techniques are totally inadequate, when the voice or data sent over the RF link is transmitted beyond the base station, which is the normal situation. In these known systems, the voice or data is encrypted by the digital device and decrypted at the base station and vice versa. The base station then transmits the voice or data over a packet switched network (PSN), such as the Internet, or transmitted over a public switched telephone network (PSTN). Once the voice or data is decrypted at the base station, digital access point, the voice or data is transmitted unencrypted to the caller or terminating party. In other words, the information or voice or data is encrypted only on the RF link, and the information or voice or data is not encrypted end-to-end, i.e., all the way from the calling party to the called party.
In order to provide end-to-end encryption, organizations like the Department of Defense (DoD) need a better solution. DOD personnel are currently buying commercial off the shelf (COTS) cell phones to frequently communicate with sensitive but unclassified (SBU) information, but without the appropriate level of security as a protective measure. There is a need for the carriers to offer a secure end-to-end option to DoD and other users, and the solution should preferably be implemented as a software upgrade to a user's existing cell phone or other digital device. Without cost effective digital security integrated as a service for voice and data, the DoD workforce and others are transmitting valuable sensitive information over the airwaves unprotected that could result in negative consequences.
Today one of the most popular emerging technologies is Voice over IP (VoIP). Protocols which are used to carry voice signals over the IP network are commonly referred to as “Voice over IP” or “VoIP” protocols. VoIP operates by packetizing voice or data from one machine, sending this voice or data over a network to another machine, and recreating the voice or data as an audio signal. VoIP is popular because it is cost effective and flexible to the user. VoIP is cost effective because users can use their existing voice or data network connections to also carry VoIP voice or data without incurring any additional costs. VoIP is flexible because VoIP allows a user to utilize their communications device anywhere in the world. All that is needed is a connection to a network and a user can send and receive calls. Most VoIP technologies do not provide any kind of encryption security through proven encryption protocols. Because of this shortcoming, VoIP communications, like digital communications, are highly susceptible to eavesdropping.
SUMMARY OF THE INVENTION
A method, system and computer program for transmitting end-to-end encrypted voice and data communications between digital devices, are disclosed. The digital devices are registered at a portal on a network, and the portal provides the digital devices with keys. The portal receives a request from any of the registered digital devices to set up a call with another digital device. The portal searches for the digital device being called, and when found, the portal requests authorization from the digital device being called to set up a secure session with the calling digital device. When authorization is obtained, the portal sets up the call and the portal receives an encrypted messages from the calling digital device. The portal decrypts the messages from the calling digital devices with the key provided to the digital device. The portal then re-encrypts the received message and sends the re-encrypted message to the terminating or called digital device where it is decrypted. Encrypted messages are sent in the reverse direction from the called digital device to the calling digital device. Accordingly, the digital devices are capable of securely communicating with each other by encrypting and decrypting the messages sent to and received from the portal. The particular portal in this case is referred as the “Cathedral Portal”.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a general block diagram of a network associated with the present invention.
FIG. 2 is a call flow diagram of the registration process for a client that wants to initiate an encrypted telephone call.
FIG. 3 is a call flow diagram illustrating the call setup that is done under the control of a portal.
FIG. 4 is a call flow diagram illustrating the transmission of encrypted voice or data from Client A to Client B.
FIG. 5 is a call flow diagram illustrating the disconnection of a client from the network.
FIG. 6 is a block diagram of the data flow in a digital device or cell phone adapted for use with the present invention.



DETAILED DESCRIPTION
The present invention provides an enhanced cost effective means of protection for COTS cell phones from malicious eavesdroppers. The system is interoperable across U.S. cell phone carriers and is intended by design to be interoperable between international carriers. The present invention can also be implemented on any of the following devices, systems or standards including, but not limited to: TDMA, GSM, CDMA, iDEN, Cell Phones, Satellites, Pagers, PDA's, Video Transmissions, Radios, Email Systems, Wireless Laptops, BlueTooth/WiFi, Wireless LANs (IEEE 802 standards), or Voice Over IP. It should be noted that the present invention is preferably implemented with an executable software program loaded onto the devices and the devices preferably require no additional hardware or hardware modification. The main software component associated with providing this security is payload encryption via the Advanced Encryption Standard (AES) or other encryption algorithm, and an optional header modulation component may also be implemented in conjunction with the payload encryption component to further improve security.
The software architecture of the present invention preferably includes a concrete layer and a plurality of abstract layers with various and different software components or modules associated with the abstract layers. A system and method that utilizes this architecture of a concrete layer and a plurality of abstract layers is described in U.S. Patent Publication 2003/0007121, entitled “System and Method for Reuse of Command and Control Software Components”, by Graves et al. The entire contents of U.S. Patent Publication 2003/0007121 are incorporated herein by reference.
The present invention preferably relies upon AES for its standard encryption component, yet it has stub code to make the technology encryption agnostic (e.g., able to use on-the-fly key management exchanges for AES, DES, Blowfish, etc.). AES is used to encrypt the payload voice or data. Deployment of this system also preferably includes a way to push new encryption algorithms out to a device on a group or geographic basis rather than on a per user basis.
The present invention is applicable to cell phones and other digital devices as well. It should be noted that although the invention is described in terms cell phones, wireless devices, or terrestrial devices, the present invention is applicable to any type of digital communications device, and the use of the term digital communications device includes all type of wireless and terrestrial devices.
An object of the present invention is to provide “commercially feasible security”, protecting sensitive but unclassified information/voice or data, which translates to National Security Agency Type 2 security. This includes payload security as protection against eavesdroppers, as well as, optional header modulation as protection against hackers and/or crackers and state sponsored adversaries by providing the denial of traffic analysis.
In order to provide effective Type 2 security, which is effective commercially feasible security, the present invention utilizes encryption and authentication models that have been proven and are freely available. It should be noted that the present invention is also applicable to Type I, III or other level of security. For example, some appropriate tools for use with the present invention include:

    
    
        Advanced Encryption Standard—AES is preferably used to provide fast, secure encryption of voice or data information. AES is a NIST (National Institute of Standards and Technology) approved cipher protocol and also meets DOD (Department of Defense) standards to encrypt secret and top secret information (top secret when using a 256 bit key), which the invention utilizes.
        One Time Pad—A one-time pad may be used to wrap the AES encrypted payload. A one-time pad is a very simple yet completely unbreakable symmetric cipher. “Symmetric” means it uses the same key for encryption as for decryption. As with all symmetric ciphers, the sender must transmit the key to the recipient via some secure and tamperproof channel, otherwise the recipient won't be able to decrypt the ciphertext. The key for a one-time pad cipher is a string of random bits, usually generated by a cryptographically strong pseudo-random number generator (CSPRNG).
        Digital Certificates—A digital certificate is preferably used to identify end users and verify the authenticity of messages received.
    
    


To provide end-to-end secure transmission, voice or data needs to be encrypted from the source all the way to the destination. Using the above tools secure transmission of voice or data including VoIP can be achieved, however, because VoIP allows user to connect and disconnect from various networks, it is difficult to locate an end user without some service to find them. This problem can by solved if a user communicates through a portal. The primary function of the portal is to handle registration by authenticating individual's identities, locate other authenticated user, authorize users and pass information between registered users through a secure channel. Communicating through the portal also hides the identity of the end user. The only thing that an observer can see is that a user has an encrypted channel. Alternatively, the portal can be eliminated from the system and a secure communication can be established end-to-end between the registered users with the users communicating as peer to peer devices, or one client acting as a server and the other client acting as a client.
Referring now to FIG. 1, a block diagram illustrates the general call flow of the present invention. The call flow, which is transparent to the user, is as follows. A digital device 11 or Client A registers with a portal 15 which sets up a call and establishes dynamic sessions. The portal 15 authenticates the identity of Client A, and if Client A is authenticated, Client A receives a key from the portal 15. It should be noted that the key distribution can be on a one time basis or on a per session basis. If desired, the keys can be changed at any time including during the middle of a session. At the conclusion of a session or at the appropriate time, the keys or other information relating to a session can be deleted. The keys may include key lengths of 256 bits, 512 bits or above.
In addition, the portal 15 is designed to be redundant and is intended for 100% uptime. During call set up, the portal 15 is responsible for authentication, authorization, and registration of the clients. The portal 15 can also perform other functions in addition to call set up. For example, the portal 15 can be designed to handle billing/tracking of services. The portal 15 can also serve as a central distribution point for router updates and key exchange management. The portal can also help the system to monitor quality of service and to increases the difficulty of malicious traffic analysis.
Client A requests the portal 15 to call another digital device 12 or Client B. The server at portal 15 locates Client B and sets up a secure channel to Client B. Client A and Client B can then communicate. Either client can notify the portal 15 that the conversation is done and the portal 15 stops routing communication traffic. If either client deregisters with the portal 15, the portal 15 is no longer able to find the client for the other user.
Continuing to refer to FIG. 1, the initial step of a call setup is the registration process, which is also preferably transparent to the user. The registration process includes a calling digital device 11 or Client A registering with the portal 15 (Proxy), in order for others to locate the digital device 11. The calling digital device 11, for example, requests a connection to talk with the other called digital device 12 or Client B and the portal 15 sets up communications. If the called digital device 12 is found, the portal 15 sets up a secure channel for communication. Otherwise, the portal 15 notifies the calling digital device 11 that the other called digital device 12 was not found. If the called digital device 12 is found, the portal 15 handles the communication. Either the digital device 11 or 12 can disconnect the communication. Lastly, the digital device 11 or 12 leaves (deregisters) from the portal 15, and at this point the digital device is no longer reachable by any other digital device.
A more detailed description of how a call is implemented from the first digital device 11 of Client A to second digital device 12 of Client B will now be provided. It should be noted that digital devices 11, 12 can include a cell phone, PDA, computer or any other type of communications device. Client A of digital device 11 places a call through the base station 13. The base station 13 may be a cell phone tower, Wi-Fi access point, etc. depending upon the type of digital device 11, 12 that is used to implement the call. The call from digital device 11 is routed from the base station 13 through a first network 14 to the portal 15. The portal 15 looks up the Client B of digital device 12. The functions of the portal 15 include the handling of registration, location of others and passage of information between two users. If Client B of digital device 12 is identified as positive, then the call is sent encrypted to the digital device 12 via a second network 16 via a base station 17, if Client B is a wireless device. When the called party or user of digital device 12 is alerted of the incoming transmission, Client B can either accept or not accept the encrypted call. Client A of digital device 11 will receive a message indicating whether Client B is willing to accept an “encrypted call” or “non-encrypted call” or whether Client B is unavailable.
Continuing to refer to FIG. 1, a description of a VoIP embodiment, which is also preferably transparent to the user, will now be explained utilizing a typical scenario. In this scenario, a Client A may be connected to the Internet using through a WiFi (802.11x) access point 13 using a WiFi enabled device such as a PDA (Personal Digital Assistant). Client A wants to communicate via the network 14 (the Internet) with Client B who is already registered with the portal 15 which is also connected to the Internet. In this scenario Client A is described as being connected to the Internet via a WiFi access point, but the architecture of the present invention is not limited to an Internet WiFi connection and can work with other Internet connections such as Local Area Networks (LANs), Wide Area Networks (WANs) or any IP compatible network.
Client A first connects to the server of the portal 15 to register. The server of portal 15 authenticates Client A. The portal 15 decrypts the call and verifies the signature using a digital certificate of Client A. If the information is valid, the portal 15 adds the information of Client A, which can be used by others for location. If the information is not valid, the portal 15 will ignore Client A. Now that Client A is authenticated, the server hands out a key for Client A to use when communicating with other users. This key is used to encrypt calls between Client A and the portal 15. Another key is provided to client B to encrypt calls between Client B and the portal 15.
Continuing to refer to FIG. 1, now that Client A is registered, Client A can make a VoIP call to Client B. Client A makes a request to talk to Client B through the portal 15. The portal 15 locates Client B and notifies Client B that Client A wishes to communicate. If Client B accepts, then the portal 15 sets up a secure communication channel between Client A and Client B. It should be noted that there could be an option to allow a non-encrypted channel. In this mode, both clients must agree that the end-to-end channel will not be encrypted before a connection is set up. The only difference between the encrypted scenario and the non-encrypted scenario is that a connection from one or both client(s) to the portal 15 will not be encrypted.
When Clients A or B are finished, they hang up and the portal 15 stops routing the information between Clients A and B. Finally, if Client A wants to deregister, Client A hangs up—disables the network connection, and the portal 15 is transparently notified that Client A wishes to deregister. When the portal 15 receives a deregister or cannot communicate with Client A due to a network disconnection from the IP compatible network, the portal 15 marks Client A as lost and can no longer locate Client A for other users.
In order to implement the above described scenarios, the system utilizes at least one control channel and one or more data channels for information flow. The control channel preferably utilizes a one time pad, and the control channel is used to obtain the keys. Preferably, data is sent over the control channel using Transmission Control Protocol (TCP)/Secure Socket layer (SSL) protocols. The voice or data packets are preferably sent over one or more data channels utilizing the User Datagram Protocol (UDP). The data channel is the preferred channel for transmitting the encrypted voice or data. The preferred protocol stack for the system includes data compression, encryption, forward error correction, and data striping.
The registration process will now be described in more detail using the call flow diagram of FIG. 2. Before a user of the system can communicate with anyone else the user must first register with the communications portal 15. As mentioned above, this registration is transparent to the user, and the purpose of registration is to allow the portal 15 to locate users and to set up a connection between two users when a connection request is made. The setup is preferably done on the control channel. The user must already have a certificate that is signed by a valid certificate authority, and the user must also have the server's certificate. In step S21 of FIG. 2, Client A sends to the portal 15 a request for connection. In step S22, the portal 15 authenticates the identity of Client A, and authenticates that the certificate of Client A is valid. Once a client registers, the portal 15 drops all previously known information about the client. In step S22, for example, the portal 15 would also generate an AES key. The key may be generated at the time of registration and used for subsequent calls. The key may also be changed on a periodic basis or changed as often as every time a new call is set up. In step S23, the portal 15 sends back an AES key to use until the client deregisters or until the key is changed. In step 23, Client A then accepts the key, if the portal 15 identity is verified. Client A decrypts with a private key and with a server public key, if a random sequence matches the random sequence sent in step S23. It should be noted that Client A preferably keeps the control channel open until Client A wants to leave and “deregister” from the portal 15.
A more detailed description of the call setup will now be provided. Before any client can communicate with another client, they must both agree to allow the portal 15 to set up a connection with the other client in accordance with the call flow illustrated in FIG. 3. This call set up is done using the control channel. For example, in step S31 Client A calls Client B by sending a request to connect to Client B via a “phone number” through the portal 15. The portal 15 searches for Client B. If Client B is found in step S32a, the portal 15 notifies Client B of the Client A's request in step S33. If Client B is not found in step S32b, Client A is notified Client B is not found in step S33. If Client B is found, Client B then chooses whether to accept or deny the request for a connection in step S35. If Client B accepts, the portal 15 notifies Client A that Client B has accepted the request in step S36. If the request is not accepted, Client A is notified in step S36 that Client B “cannot connect” or is busy. Client A is also notified that Client B cannot be connected if Client B is not currently a registered user. In step S37 the server at portal 15 decides whether the call can be completed. If the call can be completed, the server at portal 15 distributes a session ID to both Clients A and B in step 37 to use when sending messages.
Once a connection is established, Clients A and B can send information to each other as illustrated in the call flow diagram of FIG. 4, which illustrates information traveling in only one direction from Client A to Client B. In actuality, there is information sent symmetrically in both directions. It should be noted that this flow of information within the diagram occurs on the data channel(s). In step S41, Client A packs and encrypts the voice or data. In step S42 Client A sends the encrypted voice or data to portal 15 via a protocol such as UDP or some other suitable protocol. In step S43, the portal 15 decrypts, verifies sequence number increasing, and signature matches data using Client A's public key. The portal 15 then re-encrypts the voice or data, and in step S43 the portal 15 sends the encrypted voice or data to Client B via UDP. In step S45, Client B receives the voice or data packet from the portal 15, verifies an increasing sequence number, verifies portal 15 signature, and is now capable of playing or outputting an audio signal from the decrypted voice or data packets.
Referring now to FIG. 5, a call flow diagram illustrates in more detail how the Clients A and B can disconnect. When Client A and B are done talking, the clients are capable of disconnecting. This is similar to hanging up the phone, and the disconnection is performed on the control channel. For example, Client A notifies the portal 15 that “I'm done”. In step S51, Client A stops accepting packets for the current ID session, and then notifies portal 15 by sending a disconnect message in step S52. In step S53, the portal 15 stops all handoff between Client A and Client B. The portal then notifies Client B that Client A is “Done”, by sending Client B a notification of the disconnection in step S53. In step S55, Client B stops accepting packets for the current ID session.
Deregistration can happen in two ways, either by the Client manually disconnecting their application from the server, for example by hanging up, or the communication channel is lost due to being too far away from a base station or a wireless or terrestrial access point. Alternatively, the client may close the control channel or the channel is lost because of a weak signal. In these situations, the portal 15 detects that connection is lost, and terminates all active communications with the client.
Referring now to FIG. 6, a block diagram illustrates the data flow of speech packets in a digital device or cell phone adapted for use with the present invention. The digital device includes a processor. The flow of data in the digital device or cell phone is two way. In other words, the digital device or cell phone converts speech into a digital signal and outputs an encrypted digitized speech signal to the network, or the digital device or cell phone receives an encrypted digitized speech signal from the network and outputs an audible sound. The digital device of FIG. 6 preferably has the ability to access the Internet and the ability to download a software application that enables it to send and receive the encrypted digitized speech signals. The downloadable software application can be preferably be downloaded to the digital device, for example, using Microsoft's ActiveSynch software, downloaded from the airwaves or terrestrial communication link, or via some other software application suitable loading executable programs on to a digital device. The downloading is preferably done under the control of a service provider who can issue a digital certificate for the digital device. The issuance of digital certificates prevents the unauthorized use of digital devices that have been compromised, lost or stolen.
The downloadable software application preferably includes a Graphical User Interface (GUI) that is based on Trolltech's QT or some other similar software development toolkit. Beneath the GUI are a number of software modules, including a processor 60 and a client software module 61 which can be based upon the client server architecture described in U.S. Patent Publication 2003/0007121 or some other suitable client server architecture. The client software module 61 controls the flow of data within the digital device, and it is responsive to a keyboard 71 and a keyboard interface 72. The client software is also responsive to a vocoder 63 for encoding speech into a digitized speech signal. The vocoder is responsive to a microphone 68 and coverts the user's speech into a digitized speech signal. The digitized speech signals are sent to an audio interface 63, such as Microsoft's waveform audio interface which can convert the digitized speech signals into the popular WAV format. When the audio interface 63 receives digitized speech signals from the client software 61 for output, the audio interface 63 converts the digitized speech signals into a format suitable for driving a speaker or earphone 69.
The client software module 61 also functions with an SSL module 62 which is preferably based on OpenSSL or a suitably modified version or derivative of OpenSSL or other SSL software. The SSL software may need to be modified depending upon the operating system, such as Windows Mobile or Linux, utilized by the digital device. The SSL module 62 runs authentication and encryption routines. The SSL module 62 is compatible with a root authority which signs out certificates for servers and clients and which enables the hand out and exchange of keys. The client software module 61 also functions with a compression library 65 which may preferably include the open source Speex library or any other suitable compression library. The compression library 65 either extracts incoming digital speech packets or compresses outgoing digital speech packets. The compressed digital speech packets are either input to or output from the digital device through the network hardware 67 and network software interface 66. The network hardware 67 establishes a connection to the portal 15 via any suitable IP compatible network. The voice or data that is the transmitted to the portal 15 is used to setup and teardown calls to the digital device.
The Abstract of the Disclosure is provided to comply with 37 C.F.R. §1.72(b) and is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description, various features may be grouped together or described in a single embodiment for the purpose of streamlining the disclosure. This disclosure is not to be interpreted as reflecting an intention that the claimed embodiments require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter may be directed to less than all of the features of any of the disclosed embodiments. Thus, the following claims are incorporated into the Detailed Description, with each claim standing on its own as defining separately claimed subject matter.
The above disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments which fall within the true spirit and scope of the present disclosure. Thus, to the maximum extent allowed by law, the scope of the present disclosure is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description.
Although the disclosure has been described with reference to several exemplary embodiments, it is understood that the words that have been used are words of description and illustration, rather than words of limitation. Changes may be made within the purview of the appended claims, as presently stated and as amended, without departing from the scope and spirit of the disclosure in its aspects. Although the disclosure has been described with reference to particular means, materials and embodiments, the disclosure is not intended to be limited to the particulars disclosed; rather, the disclosure extends to all functionally equivalent structures, methods, and uses such as are within the scope of the appended claims.

## Claims

1. A method for transmitting real-time end-to-end encrypted voice and data communications, between at least a first digital device and a second device, comprising:
registering at least the first digital device and the second device at a portal on a network;
providing the first digital device and the second device with at least first and second keys;
receiving at the portal a request from the first digital device to communicate with the second device;
receiving authorization from the second device to set up a secure session with the first digital device;
receiving real-time voice or data messages which have been encrypted from the first digital device and the second device; real-time decrypting at the portal, the encrypted messages with the keys provided to the first digital device and the second device;
re-encrypting at the portal, the received messages which were decrypted real-time from the first digital device and the second device with the provided keys;
sending the re-encrypted messages in real-time to the first digital device and the second device;
wherein the first digital device and the second device are capable of securely communicating in real-time with each other by encrypting and decrypting the messages sent to and received from the portal;
The portal re-encrypts encrypted messages which were decrypted by the portal via keys in order to determine a header so that the messages can continue to be forwarded to intended receiver; The Portal dynamically assigns separate keys to each end point—for use of symmetric encryption between the end point and Portal; The Portal re-encrypts and routes to a destination with destination's keys whereas the received message is decrypted using source's key; There are six functions to the portal; The portal:
a. Authenticates users
b. Authorizes users
c. Dynamically exchanges encryption keys once users are authorized and authenticated that is transparent to the users
d. The Portal hides an identity of the users header, meaning origin and destination address
e. The Portal handles comprise user location, call setup and tear down
f. The portal that is a proxy server, serves as a “middle man” into ensuring that users have the correct encryption keys in order to operate a voice and/or data encrypted session;
wherein the overall design comprises:
1. The Proxy is already running ready to accept incoming registration requests or call request for clients;
2. A client registers:
a. When a client registers there is a SSL (TLS1) channel that is opened using both a client side and server side certificate so that the client can authenticate the server and the server can authenticate the client which is based on standard PKI (Public Key Infrastructure) practice;
b. Once the channel is established the client registers their ‘phone number’ with the server and the server gives the client a dynamically generated key through the SSL connection to be used in the voice encryption;

3. Other clients register:
a. Client 1 wishes to talk to client 2; Client 1 requests the Proxy to setup a call with Client 2;
b. The Proxy searches for Client 2 and notifies Client 2 of a call; If client 2 accepts, the proxy notifies both clients to start flowing voice traffic through the Proxy;
Each client takes their PCM (16bit 8000 Hz, 1 channel) data and compresses the data; Then the compressed data is encrypted with the key that the server assigned and sends it to the server; The Server decrypts with one client's key, re-encrypts with the other client's key and sends to the other client.

2. The method according to claim 1, wherein at least a first control channel is established in real-time between the portal and the first digital device, and at least a first data channel is established between the portal and the first digital device in real-time.

3. The method according to claim 2, wherein SSL and TCP protocols are utilized on the control channels and a UDP protocol is utilized on the data channel.

4. The method according to claim 1, wherein an AES or other type of encryption algorithm is utilized to encrypt messages in real-time exchanged between the first digital device and the portal.

5. The method according to claim 1, wherein the first digital device is connected to the portal via a cellular telephone, RF, IP based or other wireless/terrestrial communications network.

6. The method according to claim 1, wherein the first digital device is connected to the portal via a packet switched network or PSTN.

7. The method according to claim 6, wherein the packet switched network includes the Internet.

8. The method according to claim 1, wherein the first digital device is selected from the group comprising a cellular telephone, a computer, a PDA, set top box, or a video game console.

9. The method according to claim 1, wherein the portal searches for the second device and a request for a setup of a call has been made by the first digital device in real-time.

10. The method according to claim 9, wherein the portal notifies in real-time, the first digital device that a call cannot be set up if the second device can not be located, if the second device is not a registered user or if the user of the second device refuses authorization to set up a session.

11. The method according to claim 1, wherein the portal authenticates the first digital device and the second device using digital certificates in real-time.

12. A process for transmitting real-time end-to-end encrypted voice and/or data communications, between at least a first digital device and a second device, comprising:
a network portal for registering at least the first digital device and the second device; for providing the first digital device and the second device with at least first and second keys;
receiving at the portal a request from the first digital device to communicate with the second device; for receiving authorization from the second device to set up a secure session with the first digital device;
receiving voice and/or data messages in real-time which have been encrypted from the first digital device and the second device; decrypting at the portal, the encrypted messages in real-time with the keys provided to the first digital device and the second device;
re-encrypting at the portal, the received messages in real-time which were decrypted from the first digital device and the second device with the provided keys;
sending the re-encrypted messages to the first digital device and the second device;
wherein the first digital device and the second device are capable of securely communicating with each other in real-time by encrypting and decrypting the messages sent to and received from the portal;
The portal re-encrypts encrypted messages in real-time which were decrypted by the portal via keys in order to determine a header so that the messages can continue to be forwarded to intended receiver in real-time; The Portal dynamically assigns separate keys to each end point—for use of symmetric encryption between the end point and Portal; The Portal re-encrypts and routes to a destination in real-time with destination's keys whereas the received message is decrypted using source's key; There are six functions to the portal; The portal:
a. Authenticates users
b. Authorizes users
c. Dynamically exchanges encryption keys once users are authorized and authenticated that is transparent to the users
d. The Portal hides an identity of the users header, meaning origin and destination address
e. The Portal handles comprise user location, call setup and tear down
f. The portal that is a proxy server, serves as a “middle man” into ensuring that users have the correct encryption keys in order to operate a voice and/or data encrypted session;

wherein the overall design comprises:
1. The Proxy is already running ready to accept incoming registration requests or call request for clients;
2. A client registers:
a. When a client registers there is a SSL (TLS1) channel that is opened using both a client side and server side certificate so that the client can authenticate the server and the server can authenticate the client which is based on standard PKI (Public Key Infrastructure) practice;
b. Once the channel is established the client registers their ‘phone number’ with the server and the server gives the client a dynamically generated key through the SSL connection to be used in the voice encryption;

3. Other clients register:
a. Client 1 wishes to talk to client 2; Client 1 requests the Proxy to setup a call with Client 2;
b. The Proxy searches for Client 2 and notifies Client 2 of a call; If client 2 accepts, the proxy notifies both clients to start flowing voice traffic through the Proxy; Each client takes their PCM (16bit 8000 Hz, 1 channel) data and compresses the data; Then the compressed data is encrypted with the key that the server assigned and sends it to the server; The Server decrypts with one client's key, re-encrypts with the other client's key and sends to the other client.

13. The process according to claim 12, wherein at least a first control channel is established between the network portal and the first digital device, and at least a first data channel is established between the network portal and the first digital device.

14. The process according to claim 13, wherein OpenSSL or a variation of OpenSSL and TCP protocols are utilized on the control channels and a UDP protocol is utilized on the data channel.

15. The process according to claim 12, wherein an AES algorithm or other type of encryption algorithm is utilized to encrypt messages exchanged between the first digital device and the portal.

16. The process according to claim 12, wherein the first digital device is connected to the network portal via a cellular telephone network, RF, IP based or other wireless/terrestrial communications.

17. The process according to claim 12, wherein the first digital device is connected to the network portal via a packet switched network or PSTN.

18. The process according to claim 17, wherein the packet switched network includes the Internet.

19. The process according to claim 12, wherein the first digital device is selected from the group comprising a cellular telephone, a computer, a PDA, set top box, or a video game console.

20. The process according to claim 12, wherein the portal searches for the second device and a request for a setup of a call has been made by the first digital device.

21. The process according to claim 20, wherein the portal notifies the first digital device that a call cannot be set up if the second device can not be located or if the user of the second device refuses authorization to set up a session.

22. The process according to claim 12, wherein the network portal authenticates the first digital device and the second device using digital certificates.

23. A non-transitory computer readable medium, for storing a computer program for transmitting real-time end-to-end encrypted voice and data communications between at least a first digital device and a second device, comprising:
a code segment for registering at least the first digital device and the second device in real-time at a portal on a network;
a code segment for providing the first digital device and the second device with at least first and second keys;
a code segment for receiving at the portal a request from the first digital device to communicate in real-time with the second device;
a code segment for receiving authorization from the second device to set up a secure session with the first digital device;
a code segment for receiving encrypted messages from the first digital device and the second device;
a code segment for decrypting the encrypted messages with the keys provided to the first digital device and the second device;
a code segment for re-encrypting the received messages from the first digital device and the second device with the provided keys;
a code segment for sending the re-encrypted messages, which were decrypted, to the first digital device and the second device; wherein the first digital device and the second device are capable of securely communicating with each other in real-time by encrypting and decrypting the messages sent to and received from the portal;
The portal re-encrypts encrypted messages which were decrypted by the portal via keys-in order to determine a header so that the messages can continue to be forwarded to intended receiver; The Portal dynamically assigns separate keys to each end point—for use of symmetric encryption between the end point and Portal; The Portal re-encrypts and routes to a destination with destination's keys whereas the received message is decrypted using source's key; There are six functions to the portal;
The portal:
a. Authenticates users
b. Authorizes users
c. Dynamically exchanges encryption keys once users are authorized and authenticated that is transparent to the users
d. The Portal hides an identity of the users header, meaning origin and destination address
e. The Portal handles comprise user location, call setup and tear down
f. The portal that is a proxy server, serves as a “middle man” into ensuring that users have the correct encryption keys in order to operate a voice and/or data encrypted session;

wherein the overall design comprises:
1. The Proxy is already running ready to accept incoming registration requests or call request for clients;
2. A client registers:
a. When a client registers there is a SSL (TLS1) channel that is opened using both a client side and server side certificate so that the client can authenticate the server and the server can authenticate the client which is based on standard PKI (Public Key Infrastructure) practice;
b. Once the channel is established the client registers their ‘phone number’ with the server and the server gives the client a dynamically generated key through the SSL connection to be used in the voice encryption;

3. Other clients register:
a. Client 1 wishes to talk to client 2; Client 1 requests the Proxy to setup a call with Client 2;
b. The Proxy searches for Client 2 and notifies Client 2 of a call; If client 2 accepts, the proxy notifies both clients to start flowing voice traffic through the Proxy; Each client takes their PCM (16bit 8000 Hz, 1 channel) data and compresses the data; Then the compressed data is encrypted with the key that the server assigned and sends it to the server; The Server decrypts with one client's key, re-encrypts with the other client's key and sends to the other client.

24. The computer readable medium according to claim 23, wherein at least a first control channel is established between the portal and the first digital device, and at least a first data channel is established between the portal and the first digital device.

25. The computer readable medium according to claim 24, wherein OpenSSL or a variation of OpenSSL and TCP protocols are utilized on the control channels and a UDP protocol is utilized on the data channel.

26. The computer readable medium according to claim 23, wherein an AES or other type of encryption algorithm is utilized to encrypt messages exchanged between the first digital device and the portal.

27. The computer readable medium according to claim 23, wherein the first digital device is connected to the portal via a cellular telephone network, RF, IP based or other wireless/terrestrial communications.

28. The computer readable medium according to claim 23, wherein the first digital device is connected to the portal via a packet switched network.

29. The computer readable medium according to claim 28, wherein the packet switched network includes the Internet.

30. The computer readable medium according to claim 23, wherein the first digital device is selected from the group comprising a cellular telephone, a computer, a PDA, set top box, or a video game console.

31. The computer readable medium according to claim 23, wherein the portal searches for the second device and a request for a setup of a call has been made by the first digital device.

32. The computer readable medium according to claim 31, wherein the portal notifies the first digital device that a call cannot be set up if the second device can not be located or if the user of the second device refuses authorization to set up a session.

33. The computer readable medium according to claim 23, wherein the portal authenticates the first digital device and the second device using digital certificates.

34. A digital device, with a software installed , for transmitting real-time end-to-end encrypted voice and data communications to a second device which also has a software installed , comprising:
an input device with a software installed, for inputting either a voice or data signal;
a processor, with a software upgrade installed, responsive to the input device, for registering the digital device with a software installed, at a portal on a network in real-time;
receiving a key at the portal;
providing the portal with a request to communicate with the second device with a software installed;
transmitting encrypted messages to the portal using the key received at the portal;
receiving encrypted messages at the portal;
decrypting encrypted messages received at the portal with the key;
an output device for outputting the decrypted messages received at the portal; wherein the digital device is capable of securely communicating with the second device in real-time by encrypting and decrypting the messages sent to and received at the portal;
The portal re-encrypts encrypted messages which were decrypted at the portal via keys in order to determine a header so that the messages can continue to be forwarded to intended receiver; The Portal dynamically assigns separate keys to each end point—for use of symmetric encryption between the end point and Portal. The Portal re-encrypts and routes to a destination with destination's keys whereas the received message is decrypted using source's key; There are six functions to the portal;
The portal:
a. Authenticates users
b. Authorizes users
c. Dynamically exchanges encryption keys once users are authorized and authenticated that is transparent to the users
d. The Portal hides an identity of the users header, meaning origin and destination address
e. The Portal handles comprise user location, call setup and tear down
f. The portal that is a proxy server, serves as a “middle man” into ensuring that users have the correct encryption keys in order to operate a voice and/or data encrypted session;

wherein the overall design comprises:
1. The Proxy is already running ready to accept incoming registration requests or call request for clients;
2. A client registers:
a. When a client registers there is a SSL (TLS1) channel that is opened using both a client side and server side certificate so that the client can authenticate the server and the server can authenticate the client which is based on standard PKI (Public Key Infrastructure) practice;
b. Once the channel is established the client registers their ‘phone number’ with the server and the server gives the client a dynamically generated key through the SSL connection to be used in the voice encryption;

3. Other clients register:
a. Client 1 wishes to talk to client 2; Client 1 requests the Proxy to setup a call with Client 2;
b. The Proxy searches for Client 2 and notifies Client 2 of a call; If client 2 accepts, the proxy notifies both clients to start flowing voice traffic through the Proxy; Each client takes their PCM (16bit 8000 Hz, 1 channel) data and compresses the data; Then the compressed data is encrypted with the key that the server assigned and sends it to the server; The Server decrypts with one client's key, re-encrypts with the other client's key and sends to the other client.

35. The digital device according to claim 34, wherein the input device includes a microphone (vocoder) and a keypad.

36. The digital device according to claim 34, wherein the output device includes an audio output device and a visual output device.

37. The digital device according to claim 36, wherein the audio output device includes a speaker or an earphone.

38. The digital device according to claim 36, wherein the visual output device includes a display.

39. The digital device according to claim 34, wherein at least a first control channel is established between the portal and the first digital device, and at least a first data channel is established between the portal and the first digital device.

40. The digital device according to claim 39, wherein OpenSSL or a variation of OpenSSL and TCP protocols are utilized on the control channels and a UDP protocol is utilized on the data channel.

41. The digital device according to claim 34, wherein an AES (Advanced Encryption Standard) or other type of encryption algorithm is utilized to encrypt messages exchanged between the first digital device and the portal.

42. The digital device according to claim 34, wherein the first digital device is connected to the portal via a cellular telephone network, RF, IP based or other wireless/terrestrial communications.

43. The digital device according to claim 34, wherein the first digital device is connected to the portal via a packet switched network.

44. The digital device according to claim 43, wherein the packet switched network includes the Internet.

45. The digital device according to claim 34, wherein the first digital device is selected from the group comprising a cellular telephone, a computer, a PDA, set top box, or a video game console.

46. The digital device according to claim 34, wherein the portal searches for the second device when a request for a setup of a call has been made by the digital device.

47. The digital device according to claim 46, wherein the portal notifies the digital device that a call cannot be set up if the second device cannot be located or if the user of the second device refuses authorization to set up a session.

48. The digital device according to claim 34, wherein the portal authenticates the digital device using digital certificates.

49. A non-transitory computer readable medium, for storing a computer program for transmitting real-time end-to-end encrypted voice and data communications from a digital device, with a code segment/software installed to another device, also with a code segment/software installed, comprising:
a code segment for inputting either a speech/voice or text/data signal to an input device;
a code segment, responsive to the input device, for registering the digital device, with a code segment/software installed, at a portal on a network;
receiving a key at the portal;
providing the portal with a request to communicate with the second device in real-time, with a code segment/software installed;
transmitting encrypted messages to the portal using the key received at the portal;
receiving encrypted messages at the portal;
decrypting encrypted messages received at the portal with the key; and
a code segment for outputting the decrypted messages received at the portal to an output device; wherein the digital device is capable of securely communicating in real-time with the another device by encrypting and decrypting the messages sent to and received from the portal;
The portal re-encrypts encrypted messages which were decrypted by the portal via keys in order to determine the header so that the messages can continue to be forwarded to intended receiver; The Portal dynamically assigns separate keys to each end point—for use of symmetric encryption between the end point and the Portal; The Portal re-encrypts and routes to a destination with destination's keys whereas the received message is decrypted using source's key; There are six functions to the portal;
The portal:
a. Authenticates users
b. Authorizes users
c. Dynamically exchanges encryption keys once users are authorized and authenticated that is transparent to the users
d. The Portal hides an identity of the users header, meaning origin and destination address
e. The Portal handles comprise user location, call setup and tear down
f. The portal that is a proxy server, serves as a “middle man” into ensuring that users have the correct encryption keys in order to operate a voice and/or data encrypted session;

wherein the overall design comprises:
1. The Proxy is already running ready to accept incoming registration requests or call request for clients;
2. A client registers:
a. When a client registers there is a SSL (TLS1) channel that is opened using both a client side and server side certificate so that the client can authenticate the server and the server can authenticate the client which is based on standard PKI (Public Key Infrastructure) practice;
b. Once the channel is established the client registers their ‘phone number’ with the server and the server gives the client a dynamically generated key through the SSL connection to be used in the voice encryption;

3. Other clients register:
a. Client 1 wishes to talk to client 2; Client 1 requests the Proxy to setup a call with Client 2;
b. The Proxy searches for Client 2 and notifies Client 2 of a call; If client 2 accepts, the proxy notifies both clients to start flowing voice traffic through the Proxy; Each client takes their PCM (16bit 8000 Hz, 1 channel) data and compresses the data Then the compressed data is encrypted with the key that the server assigned and sends it to the server; The Server decrypts with one client's key, re-encrypts with the other client's key and sends to the other client.

50. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein the output device includes an audio output device and a visual output device.

51. The non-transitory computer readable medium for storing a computer program according to claim 50, wherein the audio output device includes a speaker or an earphone.

52. The non-transitory computer readable medium for storing a computer program according to claim 50, wherein the visual output device includes a display.

53. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein at least a first control channel is established between the portal and the first digital device, and at least a first data channel is established between the portal and the digital device.

54. The non-transitory computer readable medium for storing a computer program according to claim 53, wherein OpenSSL or a variation of OpenSSL and TCP protocols are utilized on the control channels and a UDP protocol is utilized on the data channel.

55. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein an AES algorithm or other type of encryption is utilized to encrypt messages exchanged between the digital device and the portal.

56. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein the digital device is connected to the portal via a cellular telephone network, RF, IP based or other wireless/terrestrial communications.

57. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein the digital device is connected to the portal via a packet switched network.

58. The non-transitory computer readable medium for storing a computer program according to claim 57, wherein the packet switched network includes the Internet.

59. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein the digital device is selected from the group comprising a cellular telephone, a computer, a PDA, set top box, or a video game console.

60. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein the portal searches for the second device when a request for a setup of a call has been made by the digital device.

61. The non-transitory computer readable medium for storing a computer program according to claim 60, wherein the portal notifies the digital device that a call cannot be set up if the second device can not be located or if the user of the second device refuses authorization to set up a session.

62. The non-transitory computer readable medium for storing a computer program according to claim 49, wherein the portal authenticates the digital device using digital certificates.