in reply to Re: Encryption using perl core functions only
in thread Encryption using perl core functions only

If your shared key is significantly larger then the plain text and the key is sufficiently random than using the key as a rotating shared key is non trivial or nearly impossible to break.

http://en.wikipedia.org/wiki/One_time_pad is a similar choice which you may want to look at, the advantage for these is that they require little processing power to compute.

  • Comment on Re^2: Encryption using perl core functions only

Replies are listed 'Best First'.
Re^3: Encryption using perl core functions only
by Porculus (Hermit) on Nov 26, 2007 at 22:15 UTC

    It's not that simple, unfortunately. If you re-use the key, then you lose that security (the hacker can simply think of a large number of messages as a single large message with a key shorter than the message, at which point you're back where you started); and if you don't re-use the key, you have the problem of getting the new key to the client device securely.