Operating System - HP-UX
1833728 Members
2636 Online
110063 Solutions
New Discussion

Re: shell command : "crypt"

 
Ridzuan Zakaria
Frequent Advisor

shell command : "crypt"

Hi,

Does anyone know what is the equivalent "crypt" command on Linux? I am using the command to encode or decode a file on HP-UX but couldn't find it on Linux.

Thanks.
quest for perfections
7 REPLIES 7
Mark Greene_1
Honored Contributor

Re: shell command : "crypt"

There's an opensource equivalent here:

http://ccrypt.sourceforge.net/

mark
the future will be a lot like now, only later
BONNAFOUS Jean Marc
Trusted Contributor

Re: shell command : "crypt"

hi,

It seem that crypt command is not implemented on Linux because USA export restrictions. But of course crypt(3) library exist (use by passwd).
See below if you want to create command. It's perhaps a solution (i have not test it).

http://www.idevelopment.info/data/Unix/Linux/LINUX_CryptCommand.shtml

Rgds
JMB
Si vous ne faites jamais de bétises, c'est que vous ne faites rien de difficile. Et ça c'est une grosse bétise.
B. Hulst
Trusted Contributor

Re: shell command : "crypt"

I think it is available on some linux versions. See this article.

http://linux.about.com/od/commands/l/blcmdl3_crypt.htm

I don't use and did not find it on my linux.
Florian Heigl (new acc)
Honored Contributor

Re: shell command : "crypt"

From what I remember crypt doesn't use a reasonably strong encryption, so better think of it as a scrambling and checksumming mechanism :)

yesterday I stood at the edge. Today I'm one step ahead.
Todd McDaniel_1
Honored Contributor

Re: shell command : "crypt"

no points please...

Just had to share an old joke...

Using crypt is like locking the doors on your car with the window rolled down!!! It only keeps the honest folks out.

Unix, the other white meat.
B. Hulst
Trusted Contributor

Re: shell command : "crypt"

Like "tales from the crypt", very old. ;-)
Chris Vail
Honored Contributor

Re: shell command : "crypt"

Don't use it! The command "crypt" is not considered secure and hasn't for many years. Instead, check out PGP--Pretty Good Privacy at http://www.pgpi.org.


Chris