generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Encrypt/Decrypt Script Help

Previous Thread :: Next Thread 
lagbuilder is not online. lagbuilder
Joined: 16 Nov 2008
Total Posts: 838
01 Jul 2012 07:59 PM
Letters = {a = 11, b = 12, c = 13, d = 14, [[5]] = 63, [[8]] = 64, [[7]] = 65}

function Encrypt(msg)
return msg:gsub("%a", Letters)
end
function Decrypt(num)
return tostring(num):gsub("%d%d", (function(i)
for k, v in pairs(Letters) do
if i == tostring(v) then
return k
end
end
end))
end


I'm not sure why this won't work. Please help. Thanks!
Report Abuse
eyeontheprizeREBOOT is not online. eyeontheprizeREBOOT
Joined: 30 Jan 2011
Total Posts: 1555
01 Jul 2012 08:07 PM
%d%d should be (%d%d) to properly capture.
Report Abuse
geicogeko is not online. geicogeko
Joined: 27 Apr 2010
Total Posts: 2727
01 Jul 2012 08:14 PM
Encryption can get you into hot water on an international forum, if your in the USA anyway.
Report Abuse
eyeontheprizeREBOOT is not online. eyeontheprizeREBOOT
Joined: 30 Jan 2011
Total Posts: 1555
01 Jul 2012 08:16 PM
@gg

this is really just encoding.
Report Abuse
lagbuilder is not online. lagbuilder
Joined: 16 Nov 2008
Total Posts: 838
01 Jul 2012 08:26 PM
I'm so sorry, meant to place this in Scripting Helpers.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
01 Jul 2012 09:45 PM
Cypher block chaining is the way to go!
Report Abuse
geicogeko is not online. geicogeko
Joined: 27 Apr 2010
Total Posts: 2727
01 Jul 2012 11:08 PM
@popsicleman, one time pad, nuff said.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
02 Jul 2012 08:21 AM
@gg

wut u tink mah encrypted messages r? harharhar
Report Abuse
geicogeko is not online. geicogeko
Joined: 27 Apr 2010
Total Posts: 2727
02 Jul 2012 11:11 AM
Too bad popsiclehombre, I will have to be a one time pad hipster.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image