: I need to write crypt() function on MS-DOS PC machine. This function must
: produce the same output as UNIX crypt(3c) (the one-way function used
: in /etc/passwd and /etc/shadow files).
Quote:>Get ufc or fcrypt(). fcrypt() usually comes with crack, ufc is also commonly
>available, i THINK ufc will compile under msdos, but i'm not 100% sure.
That's only compile in 32-bits mode, making it useless as a library
function for a MSDOS application. However there was a Pascal version
posted some time ago, also Tanenbaum once released a free version a
long time ago. Both are probably slow but sicne you're not building a
passwd cracker, speed should not matter.
REDWOOD Business Group B.V. Phone: +31-3404-31310
Princenhof Park 13 Telefax: +31-3404-30477
3972 NG DRIEBERGEN