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-14-2011, 09:11 AM #20
Karoolus
I'm the W@W Menu Guy !
Originally posted by TheCodKittenz View Post
couldnt they easily just delete you code and cange it to theirs. or are you saying you can use this for actual coding and not just text?


Can be used to decrypt function names as well Smile
    enc_ent = Decipher( ....) // enter encrypted code that will generate SELF
enc_func = Decipher(.....)
enc_opt = Decipher( .....)
enc_ent [[enc_func]]( enc_opt ); // this is 'self func(opt);'

like this, should work just like that Smile

The following user thanked Karoolus for this useful post:

06-14-2011, 08:15 PM #21
little_legz
SleepinIsCheatin
Just obfuscate the whole fast file, CraigChrist on S7 obfuscated the whole FF, This is still a good thing but the whole FF would be better and would also take much longer to understand the whole structure of it :( I think I know how this works I might throw a program together later tonight or sometime when I'm not busy and see if I get this understanding of it Smile
06-14-2011, 09:46 PM #22
Blackstorm
Veni. Vidi. Vici.
Originally posted by legz View Post
Just obfuscate the whole fast file, CraigChrist on S7 obfuscated the whole FF, This is still a good thing but the whole FF would be better and would also take much longer to understand the whole structure of it :( I think I know how this works I might throw a program together later tonight or sometime when I'm not busy and see if I get this understanding of it Smile


The problem is, FF Viewer Legacy opens them whether they're obfuscated or not. :/
06-14-2011, 10:11 PM #23
CyberNomadic
Web Developer
Amazing Blackstorm but couldnt they just find the text they want to edit then put it in this program and search it? Or is it a different code everytime? Nice Program Thank You. =D
06-14-2011, 10:13 PM #24
Blackstorm
Veni. Vidi. Vici.
Originally posted by NomadsBoy View Post
Amazing Blackstorm but couldnt they just find the text they want to edit then put it in this program and search it? Or is it a different code everytime? Nice Program Thank You. =D


Nope, I didn't release the program. Dancing

The point is for people to figure out how this works. Winky Winky
06-14-2011, 10:23 PM #25
Karoolus
I'm the W@W Menu Guy !
Originally posted by Blackstorm View Post
Nope, I didn't release the program. Dancing

The point is for people to figure out how this works. Winky Winky


on top of it, actually i'm writing a more advanced thing :p
i'll post when i have something worth posting Happy
06-15-2011, 04:22 AM #26
Blackstorm
Veni. Vidi. Vici.
Originally posted by Karoolus View Post
on top of it, actually i'm writing a more advanced thing :p
i'll post when i have something worth posting Happy


Well, this isn't that advanced tbh. :p

On a 1 - 10 consider this like 7. =D

And awesome, looking forward to the release. Smile

The following user thanked Blackstorm for this useful post:

Karoolus
06-15-2011, 09:57 AM #27
Karoolus
I'm the W@W Menu Guy !
Originally posted by Blackstorm View Post
Well, this isn't that advanced tbh. :p

On a 1 - 10 consider this like 7. =D

And awesome, looking forward to the release. Smile


i'm not gonna write it all by myself, i'm gonna need some help..
the idea i'm planning to use is based on RSA ^^
there'll be a decryption key in the patch, & an encryption key for the person who writes the codes Smile

still figuring out how to do it though Happy
06-16-2011, 12:22 AM #28
Blackstorm
Veni. Vidi. Vici.
Originally posted by Karoolus View Post
i'm not gonna write it all by myself, i'm gonna need some help..
the idea i'm planning to use is based on RSA ^^
there'll be a decryption key in the patch, & an encryption key for the person who writes the codes Smile

still figuring out how to do it though Happy


Well I'm here if you need me. Awesome face

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo