P is for Practical | |
PerlMonks |
Re^2: Deterministic asymmetric encryption [Crypt::RSA]by andreas1234567 (Vicar) |
on Dec 15, 2010 at 19:36 UTC ( [id://877355]=note: print w/replies, xml ) | Need Help?? |
Thank your for your feedback.
Crypt::CBC with just about any back end (incl, say, Crypt::Rijndael)Wouldn't that be Symmetric-key encryption, and not asymmetric encryption as the title suggests? Why do you want this? It seriously weakens the encryption. Maybe what you really need is a hashing algorithm.I realize it weakens the encryption. The question is how much? My motivation is similar to the one described here: One primary motivation for the use of deterministic encryption is the efficient searching of encrypted data. Suppose a client wants to outsource a database to a possibly untrusted database service provider. If each entry is encrypted using a public-key cryptosystem, anyone can add to the database, and only the distinguished "receiver" who has the secret key can decrypt the database entries.
If I understand it correctly, the 4 above requirements can only be accomplished using deterministic asymmetric encryption.
-- No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
In Section
Seekers of Perl Wisdom
|
|