in reply to Short & Sweet Encryption?

Sounds like you want a hash (in the crypto sense). I suggest searching CPAN for hash modules, and focusing on the crypt and digest-type beasties. An alternate search to try would be hash.

HTH,

Update: Clarified the wording just a bit...

planetscape

Replies are listed 'Best First'.
Re^2: Short & Sweet Encryption?
by Hue-Bond (Priest) on Jul 29, 2006 at 13:12 UTC

    It should be noted that a hash would prevent the OP from decrypting the message. If [s]he wants to be able to decrypt it, then a hash isn't suitable for the task.

    Update: s/It/If/; Fixed square brackets.

    --
    David Serrano

      Ack! Indeed, true. I should have inquired further into the OP's requirements before making that suggestion. Kudos to you for catching my oversight.

      planetscape