|
| 17 Jan 2017 08:33 PM |
make an encrypting function for scripts. no need for the decryption, but you can make that too.
attempt to call girlfriend (a nil value) | (͠≖ ͜ʖ͠≖)👌 | nothin' like a good argument ¯\_(ツ)_/¯ |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 08:43 PM |
what sort of encrypting
attempt to call life (a nil value) |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 08:43 PM |
any encryption, but i haven't seen a rot13 cipher yet
attempt to call girlfriend (a nil value) | (͠≖ ͜ʖ͠≖)👌 | nothin' like a good argument ¯\_(ツ)_/¯ |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 17 Jan 2017 08:52 PM |
"haven't seen a rot13 cipher" is that a joke? Those rot-x ciphers are the most common out there.
local s = script.Source local ns = "" local k = 13
-- inefficient but who cares for c in s:gmatch(".") do ns = ns .. string.char((c:byte() + k) % 256) end
print(ns) |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 09:10 PM |
| Not to ruin the argument, but you can encrypt the source of a script? Would it be wise to do to prevent local scripts from being stolen by malicious users? Would the script still run fine? |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 09:10 PM |
"argument" Lol I've been in this subforum too much lately. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 17 Jan 2017 09:11 PM |
| Nope. Say you put your encryped code in a StringValue, you'd have to decrypt it and loadstring it (and you can't call loadstring on the client anyways) |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 09:17 PM |
| Aw man, would have been cool. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 09:18 PM |
"no need for the decryption"
string.gsub(script.Source, ".", "A")
i did it.
|
|
|
| Report Abuse |
|
|
bry0320
|
  |
| Joined: 24 May 2014 |
| Total Posts: 126 |
|
|
| 17 Jan 2017 10:07 PM |
Isn't the Script.Source property a ProtectedString (aka the property is invisible LocalScripts, ModuleScripts, and Scripts)?
i've been on 4chan for 15232412UVi years |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 10:08 PM |
Yes, it is.
attempt to call life (a nil value) |
|
|
| Report Abuse |
|
|