Posted: 16th Feb 2004 22:22
Protect your copyright

Usually, you write :
+ Code Snippet
copyright$ = "Copyright Damokles, 2004"
PRINT copyright$


But, you can write the copyright$ with all ASC(caracters)+1

Then doing somthing like that :
+ Code Snippet
copyright$ = "Dpqzsjhiu!Ebnplmft-!3115"

FOR x = 1 TO LEN(copyright$)
     newcopyright$ = newcopyright$ + CHR$(ASC(mid$(copyright$,x))-1)
NEXT x
PRINT newcopyright$


In fact, you can use it for several text in your programs
Posted: 17th Feb 2004 1:31
That's GREAT!
Posted: 18th Feb 2004 1:49
how did u work that out?
Posted: 18th Feb 2004 23:33
can u explain it a little more?
Posted: 19th Feb 2004 12:59
amazing! when I will have something to copyright i will use this method (that is if you explain it)
Posted: 19th Feb 2004 13:17
I think i got it, it's very simple. Every letter in the coded word is one letter further in the alphabet. So:

D = E
e = f
n = o
n = o
u = v
z = eh... 0 or 1? Check the ascii codes
Posted: 19th Feb 2004 17:39
but why doing this????
i mean, what do i get out it?
just some cool code...?
Posted: 19th Feb 2004 18:03
Dennuz666 v2, you are right, but we can also make a larger distance between two letters.

To make it simple to write this "Dpqzsjhiu!Ebnplmft-!3115", use
+ Code Snippet
realcopyright$ = "Copyright Damokles, 2004"

FOR x = 1 TO LEN(realcopyright$)
     copyright$ = copyright$ + CHR$(ASC(mid$(realcopyright$,x))+1)
NEXT x
PRINT copyright$


Why doing this, Shokora ? Here's the answer : There are some thiefs, who can hack your game with a hex editor and claim the program belongs to them. But with that code you can make it harder for them to change your copyright.
Posted: 20th Feb 2004 6:12
Damokles, since you like encryption, you should look at my RC4 snippet. The paper it is written from is Remarked at beginning of the code.