Shopping on line can be easy, simple and save you lots of money. It can also take a lot of your time, frustrate you, and result in unwanted purchases. Now the same can be said for regular high street shopping, but with the vast opportunity presented by the Internet it will pay you to spend a few minutes reading this and understanding how to better optimize your Rsa shopping experience:

1. Compare - without doubt the biggest advantage that the Rsa offers shoppers today is the ability to compare thousands of Rsa at a time. This is a great thing, but not necessarily all the time! Too much can be daunting at times so take advantage of the great comparison sites and where possible let them do the hard work for you.

2. Research - if it has been said it will be on the internet. Ignorance is no longer a justifiable reason for buying the wrong thing. Take the time to research in detail everything that you could possible want to know about

3. Testimonials - don't know anybody that has bought a Rsa? Wrong! If the Rsa is good the internet will let you know. Use the Internet as a friend and get testimonials before you buy.

4. Questions - Got a question about Rsa then search the Forums, FAQ's, Blogs etc. Don't be afraid to ask .....

5. Reputation - Never heard of the company selling Rsa? Don't worry, no reason why you should know every company in the world, but you know someone that does! Use the internet to find out what people are saying about Rsa and build up a picture of their reputation for sales, returns, customer service, delivery etc.

6. Returns - still worried that even after all of the above your Rsa wont be what you want? Check out the returns policy. There is so much competition now that someone, somewhere is bound to offer the terms that you are comfortable with.

7. Feedback - happy with your Rsa then let people know, after all you are depending on others people input in your buying decision, so why not give a little back.

8. Security - check for the yellow padlock on the Rsa site before you buy, and the s after http:/ /i.e. https:// = a secure site

9. Contact - got a question about Rsa, or want to leave a comment then check out the sites contact page. Reputable companies have them and respond.

10. Payment - ready to pay for your Rsa, then use your credit card or PayPal! Be aware of companies that don't accept them, there may be genuine reasons but given the huge amount of choice you have when buying online there is no reason at all not to buy via credit card or PayPal.

In cryptography, RSA is an algorithm for public-key cryptography. It was the first algorithm known to be suitable for digital signature as well as encryption, and one of the first great advances in public key cryptography. RSA is widely used in electronic commerce protocols, and is believed to be secure given sufficiently long keys and the use of up-to-date implementations.

History The algorithm was publicly described in 1977 by Ron Rivest, Adi Shamir, and Leonard Adleman at Massachusetts Institute of Technology; the letters RSA are the initials of their surnames. Apocryphally , it was invented at a Passover Seder in Schenectady, New York SIAM News, Volume 36, Number 5, June 2003, "Still Guarding Secrets after Years of Attacks, RSA Earns Accolades for its Founders", by Sara Robinson

Clifford Cocks, a British mathematician working for the United Kingdom intelligence agency Government Communications Headquarters, described an equivalent system in an internal document in 1973, but given the relatively expensive computers needed to implement it at the time, it was mostly considered a curiosity and, as far as is publicly known, was never deployed. His discovery, however, was not revealed until 1997 due to its top-secret classification, and Rivest, Shamir, and Adleman devised RSA independently of Cocks' work.

Massachusetts Institute of Technology was granted for a "Cryptographic communications system and method" that used the algorithm in 1983. The patent expired on 21 September 2000. Since a paper describing the algorithm had been published in August 1977, prior to the December 1977 filing date of the patent application, regulations in much of the rest of the world precluded patents elsewhere and only the United States patent was granted. Had Cocks' work been publicly known, a patent in the US would not have been possible either.

Operation RSA involves a public Key (cryptography) and a private key. The public key can be known to everyone and is used for encrypting messages. Messages encrypted with the public key can only be decrypted using the private key. The keys for the RSA algorithm are generated the following way:
  • Choose two distinct large random prime numbers p \, and q \,
  • Compute n = p q \,
  • Compute the totient: \phi(n) = (p-1)(q-1) \,.
  • Choose an integer e\, such that 1 < e\, < \phi(n)\,, and e\, and \phi (n)\, share no factors other than 1 (coprime)
  • Compute d\, to satisfy the Modular arithmetic#The congruence relation d e \equiv 1\pmod{\phi(n)}\,; i.e. de = 1 + k\phi(n)\, for some integer k\,.


  • Notes on the above steps:
    The public key consists of the modulus n\, and the public (or encryption) exponent e\,.
    The private key consists of the modulus n\, and the private (or decryption) exponent d\, which must be kept secret.

    Encrypting messages Alice transmits her public key (n\, & e\,) to Bob and keeps the private key secret. Bob then wishes to send message M to Alice.

    He first turns M into a number m\, < n\, by using an agreed-upon reversible protocol known as a #Padding schemes. He then computes the ciphertext c\, corresponding to:

    c = m^e \mod{n}

    This can be done quickly using the method of exponentiation by squaring. Bob then transmits c\, to Alice.

    Decrypting messages Alice can recover m\, from c\, by using her private key exponent d\, by the following computation:

    m = c^d \mod{n}.

    Given m\,, she can recover the original message M.

    The above decryption procedure works because first

    c^d \equiv (m^e)^d \equiv m^{ed}\pmod{n}.

    Now, e d \equiv 1\pmod{(p - 1)(q - 1)}, and hence

    e d \equiv 1\pmod{p - 1}\, and e d \equiv 1\pmod{q - 1}\,

    which can also be written as

    e d = k (p - 1) + 1\, and e d = h (q - 1) + 1\,

    for proper values of k\, and h\,. If m\, is not a multiple of p\, then m\, and p\, are coprime because p\, is prime; so by Fermat's little theorem

    m^{(p-1)} \equiv 1 \pmod{p}

    and therefore, using the first expression for e d\,,

    m^{ed} = m^{k (p-1) + 1} = (m^{p-1})^k m \equiv {1}^k m = m \pmod{p}\,.

    If instead m\, is a multiple of p\,, then

    m^{ed} \equiv 0^{ed} = 0 \equiv m \pmod{p}.

    Using the second expression for e d\,, we similarly conclude that

    m^{ed} \equiv m \pmod{q}\,.

    Since p\, and q\, are distinct prime numbers, applying the Chinese remainder theorem to these two congruences yields

    m^{ed} \equiv m \pmod{pq}.

    Thus,

    c^d \equiv m \pmod{n}.

    A working example Here is an example of RSA encryption and decryption. The parameters used here are artificially small, but you can also Wikibooks:Transwiki:Generate a keypair using OpenSSL.

  • Choose two prime numbers
  • :p = 61 and q=53
  • Compute n = p q \,
  • :n=61*53=3233
  • Compute the totient \phi(n) = (p-1)(q-1) \,
  • :\phi(n) = (61 - 1)(53 - 1) = 3120\,
  • Choose e>1 coprime to 3120
  • :e=17
  • Compute d\, such that d e \equiv 1\pmod{\phi(n)}\, (d is uniquely determined by e and \phi(n)\,)
  • :d=2753
  • :17 * 2753 = 46801 = 1 + 15 * 3120.

  • The public key is (n=3233, e=17). For a padded message m\, the encryption function is:

    c = m^e\mod {n} = m^{17} \mod {3233}.

    The private key is (n=3233, d=2753). The decryption function is:

    m = c^d\mod {n} = c^{2753} \mod {3233}.
    For example, to encrypt m=123, we calculate

    c = 123^{17}\mod {3233} = 855.

    To decrypt c = 855, we calculate

    m = 855^{2753}\mod {3233} = 123.

    Both of these calculations can be computed efficiently using the square-and-multiply algorithm for modular exponentiation.

    Padding schemes When used in practice, RSA is generally combined with some padding (cryptography). The goal of the padding scheme is to prevent a number of attacks that potentially work against RSA without padding:

     

    Rsa



     
    Copyright © 2008 Hintcenter.com - All rights reserved.
    Home | Terms of Use | Privacy Policy
    All Trademarks belong to their repective owners. Many aspects of this page are used under
    commercial commons license from Yahoo!