Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

(redmist) Re: Encryption and decryption using different keys

by redmist (Deacon)
on Sep 01, 2001 at 09:39 UTC ( #109611=note: print w/replies, xml ) Need Help??

in reply to Encryption and decryption using different keys

I need to encrypt a short string (less than 80 characters probably)...

Don't encrypt arbitrary strings, mmmmkay?

"It is foolish to encrypt arbitrary strings-not only those sent by untrusted third parties, but under any circumstances at all."
-- Bruce Schneier in Applied Cryptography

If these strings are sent in by users (or can be eavesdropped on by a Bad Person), you open yourself up to a known-plaintext-ciphertext attack. If you have taken precautions to foil Eve and generate the strings themselves, ignore this post.

Purple Monkey Dishwasher
  • Comment on (redmist) Re: Encryption and decryption using different keys

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://109611]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2019-07-20 23:56 GMT
Find Nodes?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?

    Results (7 votes). Check out past polls.