home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18618 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.5 KB  |  35 lines

  1. Path: sparky!uunet!sun-barr!olivea!charnel!rat!usc!news!benton.prepress.com!benton!mark
  2. From: mark@prepress.com (Mark S. Bubien)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: DES encryption algorithm for Mac???
  5. Message-ID: <MARK.92Nov18163749@indian.prepress.com>
  6. Date: 18 Nov 92 21:37:49 GMT
  7. Sender: usenet@prepress.com (Usenet login)
  8. Organization: Pre-Press Technologies, Carlsbad Ca.
  9. Lines: 23
  10. Nntp-Posting-Host: indian
  11.  
  12.  
  13. I need a function that generates a DES encryted string given
  14. a salt and a key.  Specifically, I am looking an equivalent to
  15. the UNIX crypt() function on a Mac:
  16.  
  17.     char *crypt(char *salt, char *key);
  18.  
  19. Does anyone have an implementation of "crypt" that I can use
  20. (it's for an in-house thing, so it doesn't have to be blazingly
  21. fast, and it won't go into any of our products)?
  22.  
  23. -Mark
  24. --
  25. ==========================================================================
  26. Mark S. Bubien        |                                                |
  27. mark@prepress.com    |  I was there when they crucified my Lord.      |
  28.                         |  I held the scabbard when the soldier drew     |
  29. Pre-Press Technologies    |       his sword.                               |
  30. 2443 Impala Dr.        |  I threw the dice when they pierced his side.  |
  31. Carlsbad, Ca 92008    |  But I've seen love conquer the great divide.  |
  32. (619) 931-2695        |            - Bono Vox               |
  33.                         |                                                |
  34. ==========================================================================
  35.