Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: encrypt and decrypt text

by davido (Cardinal)
on Feb 08, 2005 at 05:42 UTC ( [id://428934]=note: print w/replies, xml ) Need Help??


in reply to encrypt and decrypt text

What level of security is needed? For strong security there is Crypt::GPG. For weak obfuscation from casually prying eyes, there's ROT13, which could be written easily as "$string =~ tr/A-Za-z/N-ZA-Mn-za-m/;". Applied once, you rot-13 the standard English alphabet so that it can't be casually read. Applied a second time, and you undo the previous rotation.

What is your ultimate objective, bullet proof security, mild obfuscation, ASCII encoding of binary data, or what?


Dave

Log In?
Username:
Password:

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

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

    No recent polls found