Chat on IRC |
Oops, I ment encrypter (Qbasic)
Posted by Hyif16 [send private reply] at June 28, 2002, 08:03:19 PM
I ment an encrypter. But anyways, assigning a letter to another would take a long time. I heard there was a command or something like chr$() or chr$. It chatchs all the letters in a file and turns the charaters into ASCII code instead of regular letters like 66 for a letter. I can't remember... Ah Thanks for any suggestions.
Hyif16
Posted by taubz [send private reply] at June 28, 2002, 08:58:26 PM
ASC is the function you're looking for. CHR takes an ASCII code (number) and makes it a character.
That's hardly encryption, by the way. Many of us on these board would probably realize immediately that the numbers are ASCII codes. :) - taubz
Posted by jay_dee [send private reply] at June 28, 2002, 09:28:26 PM
assigning a number or another letter to a letter doesn't take that long...at least that way it would random...but yeah there probably are better ways to encrypt something
Posted by Hyif16 [send private reply] at June 29, 2002, 06:46:09 AM
hey @taubz,
When i said about turning the letters into ASCII code i ment that i would use an eqasion to change it into diffrent letters. Eg: Turn "Hello" in to ASCII and add 34 to all the letters. Then turn it back into text and it will come out diffrently. I never make my point in one post. ::sigh:: Hyif16
Posted by taubz [send private reply] at June 29, 2002, 10:08:13 AM
Ahha, okay.
Posted by Hyif16 [send private reply] at June 29, 2002, 05:31:39 PM
How Do you capture all the letters remotely from a .txt file?! ahhh i cna't figure it out. If i can do that THEN i can make an encrypter. help me out. please. i can't find a tutorial that teachs you how to do this in Qbasic!.
thanks, hyif16
Posted by RedX [send private reply] at June 29, 2002, 07:14:52 PM
Then you'll need "open" and "input #" and "get"
These should have a description in the helpfile. I haven't used basic in a long time. RedX
Posted by Psion [send private reply] at June 29, 2002, 10:34:24 PM
I think your terminology is odd, Hyif16. People don't usually call basic file I/O "capturing letters remotely".
Posted by Hyif16 [send private reply] at June 30, 2002, 08:48:40 AM
Sorry, lol i'm a foriner. Japanese. Do you think i am good at english? i've been studing it for 4 years.
hopefully its ok. hyif16
Posted by mrnorman [send private reply] at July 01, 2002, 12:43:43 PM
If you really want some decent encryption, I would suggest taking characters from a file or textbox (that have already been typed) in large blocks of characters (rather than streamed) and mixing up their coordinates in a multi-dimensional array of characters. You might ask the user to type a block of text and then place a termination string on a line by itself if you need to use shells or consoles. This will also allow you to take characters in blocks. This is hard to break, especially if you allow the key array to change and take different numbers of characters per block rather than the same number every time. By the way, your english is certainly good enough for us to understand, and poor spelling is common anyway on message boards, lol.
Posted by CodeRed [send private reply] at July 01, 2002, 08:43:44 PM
"Sorry, lol i'm a foriner. Japanese. Do you think i am good at english? i've been studing it for 4 years.
hopefully its ok." Thats perfect except that "foriner" is spelled foreigner (I think LOL). God knows I couldn't learn japanese in 10 years
Register as a new user | |||||||||||||