Re: [jruby-user] Re: Source Code Encryption

Christian MICHON <[email protected]> Mon, 11 May 2015 12:36:22 +0200
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CACx2yF8Oz=EkMqXVPikaqBMHeMCoFcs3gCNofWvCmO+PT9M8iw@mail.gmail.com>
--089e0160bca4ffb2820515cbf269
Content-Type: text/plain; charset=UTF-8

No jrubyc will only compile ruby files, ie .rb files.

If you wish to preserve the yaml content, I would suggest to simply encrypt
it with ruby-rc4 (why not?) and obfuscate the string used as key through a
dictionary. That would do.

So in total:
- compile all rb files into class files using jrubyc
- encrypt yaml and xml with ruby-rc4, and obfuscate the key within a
dictionary.

If you need more dedicated help, just point me to a git repository. ;-)


On Mon, May 11, 2015 at 7:58 AM, Kengsreng Tang <[email protected]>
wrote:

> Hi Christian,
>
> Is Jrubyc can compile yaml file?
>
> --
> Posted via http://www.ruby-forum.com/.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>


-- 
Christian

--089e0160bca4ffb2820515cbf269
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">No jrubyc will only compile ruby files, ie .rb files.<div>=
<br></div><div>If you wish to preserve the yaml content, I would suggest to=
 simply encrypt it with ruby-rc4 (why not?) and obfuscate the string used a=
s key through a dictionary. That would do.</div><div><br></div><div>So in t=
otal:</div><div>- compile all rb files into class files using jrubyc</div><=
div>- encrypt yaml and xml with ruby-rc4, and obfuscate the key within a di=
ctionary.</div><div><br></div><div>If you need more dedicated help, just po=
int me to a git repository. ;-)</div><div><br></div></div><div class=3D"gma=
il_extra"><br><div class=3D"gmail_quote">On Mon, May 11, 2015 at 7:58 AM, K=
engsreng Tang <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">Hi Christian,<br>
<br>
Is Jrubyc can compile yaml file?<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Posted via <a href=3D"http://www.ruby-forum.com/" target=3D"_blank">http://=
www.ruby-forum.com/</a>.<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
=C2=A0 =C2=A0 <a href=3D"http://xircles.codehaus.org/manage_email" target=
=3D"_blank">http://xircles.codehaus.org/manage_email</a><br>
<br>
<br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature">Christian<br></div>
</div>

--089e0160bca4ffb2820515cbf269--