home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / crypt / 4683 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.7 KB  |  39 lines

  1. Newsgroups: sci.crypt
  2. Path: sparky!uunet!mdisea!uw-coco!nwnexus!ken
  3. From: ken@halcyon.com (Ken Pizzini)
  4. Subject: Encryption modes of block ciphers (was: Re: is this bad?)
  5. Message-ID: <1992Nov12.214200.15604@nwnexus.WA.COM>
  6. Sender: sso@nwnexus.WA.COM (System Security Officer)
  7. Organization: The 23:00 News and Mail Service
  8. References: <1992Nov12.011804.12685@news.Hawaii.Edu>
  9. Date: Thu, 12 Nov 1992 21:42:00 GMT
  10. Lines: 27
  11.  
  12. In article <1992Nov12.011804.12685@news.Hawaii.Edu> newsham@wiliki.eng.hawaii.edu (Timothy Newsham) writes:
  13. >when few replies mentioned I should just use the CBC mode of DES
  14. >it became apparent to myself that I hadn't stated my goals well
  15. >enought either...
  16.  
  17. No, not CBC mode; CFB mode seems to do what you want.
  18.  
  19. >goal:  an encryption scheme that gives me the strength of DES
  20. >along with the ability to send single characters one at a time.
  21. >Also it would be nice if the scheme lended itself well to
  22. >sending 7-bit characters in only 7 bits.
  23.  
  24. Cipher feedback mode allows you to send k bits (0 <= k <= blocksize)
  25. at a time using a block cipher.  The gist is as follows:
  26.  
  27. The two ends agree on the session key and an initial-input vector
  28. which they each feed through the block cipher.  The sender XORs the
  29. high-order k bits of the output with the k bits of plaintext and
  30. transmits the result to the receiver, who will do the same XOR to
  31. recover the plaintext.  In addition, both ends take the ciphertext of
  32. this iteration and append it to the end of the previous input vector
  33. after first shifting the input vector k bits (and throwing away the
  34. high-order k bits).  This modified input vector is re-encrypted with
  35. the session key, setting up the output to be ready for the next
  36. plaintext.
  37.  
  38.         --Ken Pizzini
  39.