Benefits of public/private key cryptography

32 views
Skip to first unread message

Andy

unread,
May 26, 2016, 3:18:50 AM5/26/16
to Crypto++ Users
What are all benefits this cryptography? Is possible to sign data by more than one user? Is possible encrypt data and decrypt it only if more than one user agree to decrypt?

Jean-Pierre Münch

unread,
May 26, 2016, 8:41:57 AM5/26/16
to cryptop...@googlegroups.com

What are all benefits this cryptography?

The core idea of public key crypto is that you have one operation everybody can perform and one operation (usually the inverse or something related) that only a selected group can perform. This may include "everybody can encrypt, only I can decrypt" or "everybody can verify but only my company can sign".

Is possible to sign data by more than one user?

Absolutely. Just encode multiple signatures of the data. Or if you want a signature to be identified with a group of persons, you can just share the private signing key among them.

Is possible encrypt data and decrypt it only if more than one user agree to decrypt?

In the secret-key setting this is no problem, if secret sharing is used. In the public key setting, you'd need to encrypt a shared symmetric key, e.g. encrypt the shares with different public keys and then a (nontrue) subset of these private key holders would be required for message recovery.

BR

JPM


Am 26.05.2016 um 09:18 schrieb Andy:
What are all benefits this cryptography? Is possible to sign data by more than one user? Is possible encrypt data and decrypt it only if more than one user agree to decrypt?
--
--
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-user...@googlegroups.com.
More information about Crypto++ and this group is available at http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages