It's a variation of the Caesar cypher, hence I think one can call it 'encryption'.
Whether it's useful for any remotely serious usage is another story :) Mateusz On 01/24/2015 04:54 PM, Tom Ehlert wrote: >> I thank you for your feedback.Your concern for the CTRL+BREAK isn't >> a problem.The QBASIC compiler I used allows you to choose whether or >> not to add in breaks (I took out the CTRL+BREAK function).I just >> thought a nice,simple LOCK program would be helpful.As for switching >> to C or C++,I'm brand new to C++.I joined this community to help and >> to learn.While I am pretty advance with QBASIC,I still have yet to >> create my first hello world program on C++.As for Jim Hall's >> post,There is a way to encrypt files on a drive without a fancy >> smancy program (It's kinda simple really).I made my own encryption >> program,which asks for a file.It then asks for a "password".The >> program takes the ASCII values of the password and adds them all >> up.It then subtracts the first two ASCII values from the total.The >> end result is a variable called KEY.This is what will encrypt and >> decrypt the files.The program then reads the ASCII values of each >> text letter in the file,and adds the KEY to the value.So the letter >> "A"'s value would go from 56 to whatever that plus the KEY is.It >> then prints the ASCII characters of the output vairables to the >> file,rewriting it.The decryption process is the opposite. > > of course you may do whatever you want in any way you like, but > > PLEASE STOP CALLING THIS ENCRYPTION > > > Tom > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > Freedos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
