Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

file encryption

by shashi2713 (Initiate)
on Mar 26, 2007 at 10:54 UTC ( [id://606548]=perlquestion: print w/replies, xml ) Need Help??

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

This node falls below the community's threshold of quality. You may see it by logging in.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found