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, :-)

        Touché!

        Our hero clutches his heart and expires.

        ()-()
         \"/
          `