


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



On the Board Final Projects — get working … Requirements for Digital Signatures & Digital Commerce To enable secure and trustworthy digital communication, we need an encryption system that has several key properties:
The Model Assume that our encryption system works through two functions: ciphertext = Encr (message), and message = Decr (ciphertext) Further, we will assume that Encr and Decr are related, but that holding one does not reveal the other. That is, given Encr and an encrypted message, the problem of deducing Decr remains computationally intractable — hidden behind a problem of exponential or higher complexity. Now, if we ensure that Encr and Decr are commutative, that is Decr(Encr(M)) = M and Encr(Decr(M)) = M Then we can create a workable public-key encryption system as follows:
so that K x G ÷ (( P- 1 ) x ( Q- 1 )) = 1, or K x G = 1, modulo (( P- 1 ) x ( Q- 1 )). Now, she can use a simple and efficient algorithm. She posts the pair < G,N > as her public key and keeps K as her private key. Now, the public Encr function breaks the message into numbers between 0 and N- 1. For each such number M , Encr computes MG^ modulo N. For a ciphertext H encrypted this way, the decryption process breaks it into the appropriate number of bits and computes H K modulo N. Number theory and algebra show that these two functions are inverses. To crack the private function, one must find K. However, we chose K as a function of G and the two numbers ( P- 1 ) and (Q- 1 ). Since P and Q are the prime factors of G (and, thus, G has about 600 digits), we would need a major theoretical breakthrough in factoring to find P and Q in any reasonable amount of time. The best known methods for factoring take time exponential in the length of G , so the system is considered uncrackable. As computers get faster, we can simply use longer prime numbers and gain an exponential increase in difficulty. Public Registries and Usability Of course, all of this choosing and factoring is something that the average computer user (such as my eleven year old daughter) does not want to do. Fortunately, software exists to easily choose the appropriate numbers, record the public keys in a registry, and build the private key into a software form where the user does not need to remember 300 digit prime numbers or their products. You may see terms such as SSL certificate — as in, a message from a mail system or an ISP that someone’s SSL certificate has expired. The certificate is nothing more than a public-key pair < G,N >, provided by one of the many registry services that exist on the Internet. (When you register for wireless at Rice, you are asked to accept such a certificate into your browser — which conveniently keeps track of it.)