Jump to content

Lua Encryption and compiling


.:HyPeX:.

Recommended Posts

Hey guys, How could i take a RSA Key (Public/Private) into action to compile/encrypt my scripts and protect them?

Lets say: how can i duplicate the github codeline into lua supposed for:

  
openssl -rsautl -in text.txt -encrypt -inkey ~/.ssh/id_rsa.pub.pem -out crpy.txt 
  

wich would turn this

  
Hello ShitHeads! 
  

into this

  
DãZ·Ù² ØÚÙxb£z‘Îì:·àƒŸ¨ð6…eƒìRy…;×4'€|lŽlE 
P‚`so¯Å´¦V“O~Z@@6åí ¬Ï½Lf 
2U®k@DÊBWlø²]Ò—l.w 
ô‚^ Ši?¿žð£ÞÚ̪ô¡d²!pC‹Œ:¼>ÞŠVW•PB÷WÓ¤ªgÌ 
G\ú`™[ŸGüã’³Úóùú‡]ÁÒz;Q/Z=©Oöž|†¦U#A¹¤µ 
aD<à;¤r[õºo]?›Âà \Ü%LJ‹AÇ õNúdþ1ã¨RáËÁ$LþBõc]Ÿ ^Mb…c”#Ù 
  

Thanks in advance

HyPeX

PD: (I already got the RSA Keys and know how to encrypt / decrypt txt files with openssl)

Link to comment
You can't because MTA doesn't support it.

So came in with the idea, could i generate a copy of RSA Keys in the game? (Lets say that the script has my stuff encrypted in my own way lets say A is represented as MM, and that upon working it sends the stuff to another script wich is server-side only with an exported function wich descrypts and sends back MM into A, as supponsing like: Script = exports.etc). Could it be possible to call that return as a function itself or how could i do it? this is of course, talking about a client side script, since the call function is client and server side, the client would only have access to my code wich would look like rubbish stuff with an export to a resource they will never have download or access to in any way.

Thanks in Advance

HyPeX

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...