XOR encryption progra

-= On 04-20-96  01:59, In:sund...@primenet.com wrote: =-

 In> In article <8298850816...@access.cn.camriv.bc.ca>
 In> Kim.Forw...@access.cn.camriv.bc.ca (Kim Forwood) writes:
 >I agree. Reading a file byte by byte will be slow because of constant
 >disk access. BlockReading chunks of about 4k each would be about right
 >IMO.

 In> With internal file-buffering, the disk-access time is likely to be
 In> about the  same.

But isn't the default internal buffer size something like 128 bytes? If you
did a byte by byte file reading routine, DOS will still read a whole chunk
at once (size depending on the TextBuf variable). Only if you increase it
manually will DOS read in more at once. At least that was my understanding.

Anyway, I think BlockRead would be a good start for the guy. It allows some
flexibility and sure beats the byte-by-byte method. At least *I* notice a
difference.

        -- Kim Forwood --

  /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\
  $           Kim Forwood  <kim.forw...@access.cn.camriv.bc.ca>          %
  %         For what purpose is life, if one cannot live freely?         $
  \-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/

.. For programmers, Insomnia isn't a problem, it's a requirement.

___ Blue Wave/QWK v2.20