Post: [Half-Release] String Decryption/Encryption
06-13-2011, 10:56 PM #1
Blackstorm
Veni. Vidi. Vici.
(adsbygoogle = window.adsbygoogle || []).push({}); Well, this has never been done before on CoD. Smile

I was planning not to release this script, but I decided that the GUI that generates the encrypted code was the important thing, not the actual scripts that decrypt it. Smile

If you figure out how this decryption works, you can figure out how to encrypt. =D

Good luck. Awesome face


    
iniEncrypt()
{
x = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890,./;'[]!@#$%^&*()_+=-{}:<>? ";
i = 0;
array = [];
for(j = 0; j < 9; j++)
{
for( ;i<x.size;i++)
{
if(!isDefined(array[j][0]))
array[j] = [];
if(array[j].size < 10)
array[j][array[j].size] = x[i];
else
break;
}
}
return array;
}

DeCipher(x,d)
{
j = "";
if(!isDefined(d))
del = ";";
else
del = d;
c = strTok(x,del);
for(i = 0; i < c.size; i++)
{
j += DeCipherInt(c[i]);
wait .005;
}
return j;
}

DeCipherInt(index)
{
array = iniEncrypt();
p = [];
p[0] = 99;
p[1] = 99;
for(i=0;i<array.size;i++)
{
for(x=0;x<array[i].size;x++)
{
if(array[int(index[0])][int(index[1])] == array[i][x])
{
p[1] = x;
break;
}
}
if(p[1] == x)
{
p[0] = i;
break;
}
}
return array[p[0]][p[1]];
}


Examples of the syntax:


    
self iPrintlnBold(DeCipher("28;14;89;36;14;16;38;89;16;38;66;36;89;38;14;08;89;04;28;30;36;63")); // Would print, "OH SHIT IT'S THE COPS".


Also, for those of you wondering, here's what my GUI looks like:

You must login or register to view this content.

EDIT: With encrypted data, people would no longer be able to mess with your work, etc. They wouldn't know what it means. :p

Also, for people wanting to know how encrypting would affect your code, here's a small equation to show you what your new length would be:

    
newSize = (string.size * 2) + (string.size - 1);


Enjoy. :p
(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to Blackstorm for this useful post:

.Kane., CleanMODSHD, Correy, Devil, FourzerotwoFAILS, iReset Nigga, Karoolus, sergskate13, Solo., XKevin356
06-23-2011, 04:52 PM #38
nay1995
The Master
ahh i get it so what you are doing is putting this in the .gsc but its no good unless you have your gui to translate codes into hex values/numbers
06-23-2011, 09:08 PM #39
.Kane.
Banned
Originally posted by nay View Post
ahh i get it so what you are doing is putting this in the .gsc but its no good unless you have your gui to translate codes into hex values/numbers


Or you can learn how to do it without the program.
06-28-2011, 08:20 PM #40
Blackstorm
Veni. Vidi. Vici.
Originally posted by .Kane. View Post
Or you can learn how to do it without the program.



bump.

:whistle:
06-29-2011, 12:37 AM #41
.Kane.
Banned
Originally posted by Blackstorm View Post
bump.

:whistle:


bump.

:dumb:
08-04-2011, 10:50 PM #42
trollin. Its simpler than i thought xd
08-05-2011, 12:06 AM #43
Blackstorm
Veni. Vidi. Vici.
Originally posted by iBlueBerry View Post
trollin. Its simpler than i thought xd


Cool. I coded this two months ago, I've developed a much smaller and more advanced concept. :p
08-05-2011, 08:55 AM #44
Originally posted by Blackstorm View Post
Cool. I coded this two months ago, I've developed a much smaller and more advanced concept. :p


Still this willbe sick as a gamertg check Smile

The following user thanked iBlueBerry for this useful post:

Blackstorm
08-06-2011, 10:37 AM #45
this looks really hard lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo