shashi2713 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: file encryption
by marto (Cardinal) on Mar 26, 2007 at 11:18 UTC
Re: file encryption
by swampyankee (Parson) on Mar 26, 2007 at 13:26 UTC

    While this can be done in Perl (see, for example crypt), this is not entirely a Perl question, at least the way you've phrased it.

    So, is this a programming exercise? If so, there are many encryption/decryption algorithms. Probably the easiest is xor-ing the plain text, character by character, with a key. There are also transposition ciphers, which scramble word order according to a key.

    If this isn't an exercise, you could try gpg, presuming it's legal for you to download and use it. There's also an associated Perl module, gpg.

    emc

    Insisting on perfect safety is for people who don't have the balls to live in the real world.

    —Mary Shafer, NASA Dryden Flight Research Center
Re: file encryption
by Jasper (Chaplain) on Mar 26, 2007 at 11:32 UTC
    perldoc Crypt::Rot13