Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Password Encryption

by fsn (Friar)
on Aug 20, 2002 at 09:25 UTC ( #191420=note: print w/replies, xml ) Need Help??

in reply to Password Encryption

Why not rot13 encode it:
> cat cleartextpasswords.txt | tr /a-zA-Z/ /n-za-mN-ZA-M/ > encryptedp +asswords.txt > cat encryptedpasswords.txt | tr /a-zA-Z/ /n-za-mN-ZA-M/ > cleartextp +asswords.txt
Or is that a little TOO insecure...?

Replies are listed 'Best First'.
Re: Re: Password Encryption
by ignatz (Vicar) on Aug 20, 2002 at 14:11 UTC
      Hmm... I would argue that the tr command probably predates Perl by a decade. So, who is reinventing the wheel? And is the perl version even faster to write than the tr version?

      And also, look at the memory footprint issue. tr takes 28k on my RH72, where the Perl binary alone takes 708k, + loading the Crypt module...

      Oh, and by the way, :-)


        Our hero clutches his heart and expires.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2022-12-10 05:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found