FREEWARE PROGRAMS FOR WINDOWS & DOS by MD@X2TEK

                  X2SECDAT RANDOM NUMBER  FILE
                         ENCRYPTION INFORMATION
by Maurice Dyke
       Powerbasics and their Turbobasic predecessor are the only compilers I have found which seem to be suitable to use for file encrypting with pseudo-random numbers by my method because with them the same seed number always creates the same random number sequence which some other Basics do not seem to do.  My general file encryption procedure is summarized in the next paragraph.  I do not know how secure it is but I think it is good enough for my files on a non internet connected PC even though the random number generator may not be secure cryptographically since multiple new seeds are used for each file character processed. 
       First, the selected password PW, root filename RFN, and file size are used to generate pseudo-random numbers which are used to transform PW to PW2 and RFN to RFN2.  Next, PW2 , RFN2, file size, and character file position are used to get encryption keys  to transform a file character FC to TFC using XORs and character bit manipulations and then to encrypt TFC by an XOR with a PW2 encryption key which is modified with a random number after each usage.  The encrypted characters are collected into groups of 8 to form 64 bit quad-words which are then subjected to a bit rotation by the value of another random number prior to storage in the PW secured encrypted file so that each character in this file does not correspond to a character in the same position in the original file .

 X2SECDAT DOWNLOAD PAGE 
     

 

   X2TEK HOME PAGE