home *** CD-ROM | disk | FTP | other *** search
/ Computer Club Elmshorn Atari PD / CCE_PD.iso / pc / 0600 / CCE_0679.ZIP / CCE_0679.PD / DES301 / README < prev    next >
Text File  |  1993-10-08  |  2KB  |  57 lines

  1.  
  2.             libdes, Version 3.00 93/10/07
  3.  
  4.         Copyright (c) 1993, Eric Young
  5.               All rights reserved.
  6.  
  7.     This program is free software; you can redistribute it and/or modify
  8.     it under the terms of either:
  9.     
  10.     a) the GNU General Public License as published by the Free
  11.     Software Foundation; either version 1, or (at your option) any
  12.     later version, or
  13.  
  14.     b) the "Artistic License" which comes with this Kit.
  15.  
  16.     This program is distributed in the hope that it will be useful,
  17.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
  19.     the GNU General Public License or the Artistic License for more details.
  20.  
  21.     You should have received a copy of the Artistic License with this
  22.     Kit, in the file named "Artistic".  If not, I'll be glad to provide one.
  23.  
  24.     You should also have received a copy of the GNU General Public License
  25.     along with this program; if not, write to the Free Software
  26.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  27. ---
  28. This kit builds a DES encryption library and a DES encryption program.
  29. It suports ecb, cbc, ofb, cfb, triple ecb, triple cbc and MIT's pcbc
  30. encryption modes and also has a fast implementation of crypt(3).
  31. It contains support routines to read keys from a terminal,
  32. generate a random key, generate a key from an arbitary length string,
  33. read/write encrypted data from/to a file descriptor.
  34.  
  35. The implementation was written so as to conform with the manual entry
  36. for the des_crypt(3) library routines from MIT's project Athena.
  37.  
  38. destest should be run after compilation to test the des routines.
  39. rpw should be run after compilation to test the read password routines.
  40. The des program is a replacement for the sun des command.  I believe it
  41. conforms to the sun version.
  42.  
  43. The Imakefile is setup for use in the kerberos distribution.
  44.  
  45. These routines are best compiled with gcc or any other good
  46. optimising compiler.
  47. Just turn you optimiser up to the highest settings and run destest
  48. after the build to make sure everything works.
  49.  
  50. I believe these routines are close to the fastest and most portable DES
  51. routines that use small lookup tables (4.5k) that are publicly available.
  52. The fcrypt routine is faster than ufc's fcrypt (when compiling with
  53. gcc2 -O2) on the sparc 2 (1410 vs 1270) but is not so good on other machines
  54. (on a sun3/260 168 vs 336).
  55.  
  56. Eric Young (eay@psych.psy.uq.oz.au)
  57.