Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问了解R代码混淆或加密的方法以及工具么? #20

Open
zaccheus opened this issue Mar 9, 2017 · 3 comments
Open

请问了解R代码混淆或加密的方法以及工具么? #20

zaccheus opened this issue Mar 9, 2017 · 3 comments

Comments

@zaccheus
Copy link

zaccheus commented Mar 9, 2017

项目需要部署在客户的服务器上,想进行简单的混淆或者加密,发现R没有这方面的工具,除了定制R解释器外,还有什么办法么?

@yihui
Copy link
Owner

yihui commented Mar 9, 2017

这个我觉得这没必要用 R 实现吧,用别的工具加密解密,便宜量又足。如果是非常简单的加密解密,你可以做基本的字符调换,a 换 b,b 换 c,等等。可参考 chartr() 函数。

@zaccheus
Copy link
Author

zaccheus commented Mar 10, 2017

是需要把R代码加密,就像Proguard是加密java代码的,似乎没有加密R的工具(无论这个工具是用什么语言写的)。除非自己写混淆的一些trick了。。。

@dongzhuoer
Copy link
Contributor

R包中的所有R代码都是完全开源的,估计也没人开发加密工具。你可以考虑Rcpp,部分关键代码用C++实现。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants