[comp.sys.amiga] Crypt

d87-khd@sm.luth.se (Karl-Gunnar Hultland) (01/19/90)

I wonder if anyone has the source to the Unix function crypt and
the program crypt used on unix.
I am trying to convert a mud program to Amiga and my compiler
(lattice v5.04) doesn't suppurt them.

					Karl

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Karl 'Dixie' Hultland |     email: d87-khd@sm.luth.se                       |
| University of Lulea   |          : {uunet,mcvax}!sunic.se!sm.luth.se!d87-khd|
| Sweden                | Snailmail: Mjolkuddsv. 63-5, S-95157 Lulea Sweden   |
|=======================| Voice nat: 0920-15479                               |
| Urbi et Orbi          | Voice int: +46 920 15479                            |
|=============================================================================|
|       If two people agree on EVERYTHING , one of them is OBSOLETE!!         |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

cmcmanis@stpeter.Sun.COM (Chuck McManis) (01/23/90)

In article <708@tau.sm.luth.se> Karl-Gunnar Hultland writes:
>I wonder if anyone has the source to the Unix function crypt and
>the program crypt used on unix.
>I am trying to convert a mud program to Amiga and my compiler
>(lattice v5.04) doesn't suppurt them.

You can't get the source legally without an AT&T UNIX source license
but that is ok because you don't need it. Just write a function that
does encryption (as simple or as complicated as you would like) and
give it the same parameters/results as the crypt function. The code
will never know the difference.

--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@Eng.Sun.COM
These opinions are my own and no one elses, but you knew that didn't you.
"If it didn't have bones in it, it wouldn't be crunchy now would it?!"