Solved

Public / Private keys

Posted on 2014-04-02
3
261 Views
Last Modified: 2014-04-03
Can you  have the following

1> 1 to many relationship between a private key and a public key

2> A one to many relationship between a public key and a private key
0
Comment
Question by:Anthony Lucia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 39973624
Sort of.

Extended version? there is a mathematical relationship between the two keys such that given the original constants and one of the keys, you can compute the other.

For RSA, that is such that for the three values M (modulus), E (encryption exponent) and D (decryption exponent) then cryptotext=plaintext to the power of E modulo M, and plaintext = cryptotext to the power of D modulo M. this is reversible, in that if you swap E and D over, the math still works.

however, for any pair (E,M) there are an infinite number of possible values for D, all with a rigid mathematical relationship to each other. You don't HAVE to pick the smallest one, but it usually makes sense to do so (as otherwise you are just doing more math for no real benefit)

Summary of RSA would go like this (and I have a t-shirt with this on someplace here :)

Pick two prime numbers P and Q
Your M is the value P x Q
now, pick an E (say, 512) and calculate N as the value (P - 1) x (Q - 1)
Now, any D such that E x D = 1 Mod N is suitable.

now, given you can write "Mod N" as "i x N" for some arbitrary integer i you can rearrange that so that for any given value i, you can calculate the resulting D value.

conversely, if you have calculated some D, you can go ahead and calculate other values of E by varying the value of i.

Does that make sense?
0
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 39976472
Your thinking of the web of trust, or the method used in SMIME/PGP where one can encrypt the massage once, but send the same message to a handful of people. The way that works is, the public key of the recipients (each of them) is used to encrypt the same string (string_x). When they recieve the message they use their private-keys to decrypt string_x, and then string_x to decrypt the message itself.
MS EFS works in this way as well, where each users public-key is used to encrypt the file-encryption-key (string_x), and the FEK is used to encrypt the data.
Basically mixing asymmetric and symmetric encryption types.
-rich
0
 
LVL 33

Expert Comment

by:Dave Howe
ID: 39976534
Its possible he is thinking that. Not sure I can tell any more what he is thinking, given the storm of questions :)

Gotta love DESX though. I wonder why it wasn't used outside of EFS?
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
A hard and fast method for reducing Active Directory Administrators members.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question