xXm0dzXx

Test Encryption Function

Jan 4th, 2013
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. local function stringToMisc( text )
  2. local result = ""
  3.  
  4. for i=1,#text do
  5. local sText = string.sub( text, i, i )
  6. local dec = string.byte( sText )
  7.  
  8. result = result.. string.char(dec+96)
  9. end
  10.  
  11. return result
  12. end
Advertisement
Add Comment
Please, Sign In to add comment