crypt(1) and mcrypt
874822Jul 12 2011 — edited Apr 6 2012Under our Solaris machine we used crypt to simply encrypt a file. We sent it to a customer who only has RedHat and needs to use mcrypt to decrypt it. What is the appropriate command line options to do this in mcrypt? I have tried the -a des and also -a enigma both with the --bare option. Neither has worked. Any help would be much appreciated. mcrypt says the file is corrupt, but I take it back to Solaris and it works fine using crypt.
Update, I may have the incorrect keymode. I let it default and it seems to work. What should the keymode be?
Thanks!
Edited by: user13529247 on Jul 12, 2011 12:57 AM