Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Safe symmetric encryption - Crypt::CBC + Crypt::Blowfish?

by thraxil (Prior)
on Feb 08, 2003 at 20:39 UTC ( [id://233769]=note: print w/replies, xml ) Need Help??


in reply to Re: Safe symmetric encryption - Crypt::CBC + Crypt::Blowfish?
in thread Safe symmetric encryption - Crypt::CBC + Crypt::Blowfish?

never use the same key twice for a one-time pad. other symmetric algorithms are designed to allow you to reuse keys (with some eventual loss of security; see the other posts below this for more). public key systems just get around key distribution problems.

anders pearson

  • Comment on Re: Re: Safe symmetric encryption - Crypt::CBC + Crypt::Blowfish?

Replies are listed 'Best First'.
Re: Re: Re: Safe symmetric encryption - Crypt::CBC + Crypt::Blowfish?
by John M. Dlugosz (Monsignor) on Feb 09, 2003 at 05:06 UTC
    A Block cipher in CBC mode allows you to reuse the key. A Stream cipher is no different than a one-time pad in this respect. RC4 is a stream cipher. Think of a stream cipher as a condensed instruction on how to generate the one-time pad. The key is just a seed for a pseudo-random number generator.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found