home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Basic / wst!blz1.dms / in.adf / docs / rilibdocs.lha / RIEncryptLib.doc < prev    next >
Encoding:
Text File  |  1994-09-05  |  1.5 KB  |  49 lines

  1. Library Name:
  2.   riencryptlib #55
  3.  
  4. Authors:
  5.   ReflectiveImages, 17 Mayles Road, Southsea, Portsmouth, Hampshire, UK PO4 8NP
  6.  
  7. OverView:
  8.   Another Reflective Images Library, good for war games?
  9.  
  10. Authors Docs:
  11.  
  12. RIEncryptLibrary
  13.  
  14. Date sent: 26-AUG-1994 
  15.  
  16. You can have this little library if you like.  Sorry there are no full docs in
  17. the archive - the lib was done in a hurry for someone.  It performs Enigma
  18. compression and is very cute ;-).
  19. The archive contains the source code for the library.  I'm sure it wouldn't
  20. take you a second to have a look at it ;-).
  21.  
  22.  
  23. Commands in the library:
  24.  
  25.   Encrypt memadr,len[,wheel1,wheel2,wheel3]
  26.  
  27.               This will encrypt a block of memory starting at the address and
  28. running through to addresslength-1.  The optional wheel parameters allow you to 
  29. specify the start positions of the three wheels.  If you leave these out then
  30. the wheels' start positions will be randomised.
  31.  
  32.   GetWheel n
  33.  
  34.     This will tell you the position that wheel n stopped at after
  35. encrypting a file.  n can range from 1 to 3 - YOU MUST REMEMBER THESE POSITIONS
  36. IF YOU WANT TO DECRYPT THE FILE (at the moment at least).
  37.  
  38.   Decrypt memadr,len,wheel1,wheel2,wheel3
  39.  
  40.     Same Encrypt except that it does the opposite and the wheel
  41. positions ARE NOT OPTIONAL.  The positions should be the ones you wrote down
  42. after encrypting the file.  I may, in future, change it so that you can also
  43. specify the start wheel positions instead of the end ones (shouldn't be tooooo
  44. hard ;-)).
  45.  
  46.  
  47. Oh well, have a look and tell us what you think............
  48.  
  49.