Andrew, I did not answer you question You asked Meanwhile, just a quick thought, if I remember right you said something like "I can't use cygwin crypt(), because it is not unix-compatible", well how many crypt()'s out there on Solaris, Linux, HP, digital alpha are compatible?? My answer :- As I recall the crypt command in all Unix works the same way e.g. if I want to encrypt a file, I would use crypt crypt_password < file_you_want_to_encrypt > encrypted_file
and to decrypt file, you would issue command crypt crypt_password encrypted_file but the same thing does not work in cygwin. The purpose of crypt command in cygwin is different than the purpose of crypt command in unix. I have no idea why it is different but it is. Sanjay -----Original Message----- From: Andrew Markebo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:51 PM To: Gupta, Sanjay Cc: '[EMAIL PROTECTED]' Subject: Re: mcrypt commnad No idea about why you are missing cputs and cgets, easy way is to use something other to print and input a string.. Meanwhile, just a quick thought, if I remember right you said something like "I can't use cygwin crypt(), because it is not unix-compatible", well how many crypt()'s out there on Solaris, Linux, HP, digital alpha are compatible?? Or is it me being on the wrong line?? Using mcrypt on the unix-machine and cygwin probably does the same thing.. BTW Saw a note on the mcrypt-dev on compiling mcrypt with cygwin, they referred to use and link against mingw.. http://lists.hellug.gr/pipermail/mcrypt-dev/2001/000087.html /Andy [...] | getpass.o: In function `mcrypt_getpass': | /usr/src/mcrypt-2.5.10/src/getpass.c:48: undefined reference to `_cputs' | /usr/src/mcrypt-2.5.10/src/getpass.c:49: undefined reference to `_cgets' [...] -- The eye of the beholder rests on the beauty! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/