Re: 2 Keys decrypts same message
From: Jorge (jbachler_at_eudoramail.com)
Date: 07/07/03
- Next message: Tom St Denis: "Re: Magic Flight: A New Public Key Algorithm stronger? than factoring"
- Previous message: Ovid: "Re: Understanding Fundamentals??"
- In reply to: Jorge: "2 Keys decrypts same message"
- Next in thread: Tom St Denis: "Re: 2 Keys decrypts same message"
- Reply: Tom St Denis: "Re: 2 Keys decrypts same message"
- Reply: Andrew Swallow: "Re: 2 Keys decrypts same message"
- Reply: 小葉南洋杉: "Re: 2 Keys decrypts same message"
- Reply: 小葉南洋杉: "Re: 2 Keys decrypts same message"
- Reply: Simon Johnson: "Re: 2 Keys decrypts same message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 7 Jul 2003 08:30:06 -0700
Thank's for the answers!
My problem is the following, I have a database
that needs to be encrypted.
Some of the rows need to be accessed (decrypted)
by one person and other by another person, etc.
I'm talking about 1 million rows and 200 users.
My idea is to encrypt using a password for each user,
but in the case (very probable) that the user
forgots the password I need to be able to decrypt
the data encrypted with his/her password.
I don't want to encrypt each row twice (with a admin password
and user password) because it will be twice the space.
I don't want to use a *master* key to encrypt every
row, and encrypt this master key with each user password,
because user passwords can be weak and compromise all the
data (not only the user one).
That's why I wanted to decrypt the same data with two
different keys.
As suggested, I might generate a random Key for each set
of rows and encrypt the key with the admin password and
the user password. Then use that key for the set of rows.
anyone has a better idea ??
thanks!
Jorge
jbachler@eudoramail.com (Jorge) wrote in message news:<6dc1ad49.0307031213.6ca26059@posting.google.com>...
> Hi,
>
> Is there any algorithm or a way to accomplish that
> 2 different keys can decrypt a message?
>
> thanks
>
> Jorge
- Next message: Tom St Denis: "Re: Magic Flight: A New Public Key Algorithm stronger? than factoring"
- Previous message: Ovid: "Re: Understanding Fundamentals??"
- In reply to: Jorge: "2 Keys decrypts same message"
- Next in thread: Tom St Denis: "Re: 2 Keys decrypts same message"
- Reply: Tom St Denis: "Re: 2 Keys decrypts same message"
- Reply: Andrew Swallow: "Re: 2 Keys decrypts same message"
- Reply: 小葉南洋杉: "Re: 2 Keys decrypts same message"
- Reply: 小葉南洋杉: "Re: 2 Keys decrypts same message"
- Reply: Simon Johnson: "Re: 2 Keys decrypts same message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|