Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Key = 5453487089
- function decCode ()
- local outPut = fileOpen("outPut.txt")
- local inPut = fileOpen("inPut.txt")
- local size1 = fileGetSize(outPut)
- local size2 = fileGetSize(inPut)
- local data = fileRead(inPut,size2)
- local Code = teaDecode(tostring(data),tostring(Key))
- fileWrite(outPut,tostring(Code))
- fileClose(outPut)
- fileClose(inPut)
- end
- addCommandHandler("deCode",decCode)
- function enCode ()
- local outPut = fileOpen("outPut.txt")
- local inPut = fileOpen("inPut.txt")
- local size1 = fileGetSize(outPut)
- local size2 = fileGetSize(inPut)
- local data = fileRead(inPut,size2)
- local Code = teaEncode(tostring(data),tostring(Key))
- fileWrite(outPut,tostring(Code))
- fileClose(outPut)
- fileClose(inPut)
- end
- addCommandHandler("enCode",enCode)
Advertisement
Add Comment
Please, Sign In to add comment