在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
楼主: jackiexiuyi

[讨论] tcl 脚本有什么加密方法吗?

[复制链接]
发表于 2014-12-12 13:23:36 | 显示全部楼层
回复 1# jackiexiuyi
这位仁兄,请问你现在知道怎么加密了吗?求分享~
发表于 2015-1-8 14:17:54 | 显示全部楼层
附件程序 windows下安装。然后在win的cmd窗口下进入到对应安装的目录的bin下

然后操作:proccomp.exe test.tcl

生成的文件 test.tbc就是你加密的文件. 可以在EDA工具里面直接source

附件程序网盘:http://pan.baidu.com/s/1kTKIj5d 提取密码:s4ux
发表于 2015-11-2 12:24:44 | 显示全部楼层
回复 12# jonathanhys2


   您好,为什么我根据您的说明在cmd窗口操作:proccomp.exe test.tcl时,提示proccomp不是内部命令?
发表于 2016-12-25 18:59:22 | 显示全部楼层
直接用encrypt指令就好了啊
发表于 2016-12-26 17:41:05 | 显示全部楼层
回复 14# shentianzhen
您好,能说一下详细的加密过程么,我有用TDK加密过,但是在eda工具中source的时候提示版本不对,提示“cant't find package tbcload 1.6”,搞了好几天没搞出来,谢谢
发表于 2016-12-29 09:41:35 | 显示全部楼层
有加密的方法
你需要先load 一个tcl自带的动态库(libtclcompiler1.5.so),然后使用compile::compiler 命令加密。
发表于 2016-12-29 09:44:10 | 显示全部楼层
加密之后,需要通过对应版本的解密动态库(libtbcload1.4.so)才能读取加密后的文件内容。
发表于 2016-12-29 09:47:26 | 显示全部楼层
或者使用eda工具中的命令加密,encrypt ➕文件名
laker 启动页面cmd栏中直接输入
发表于 2019-6-18 23:50:02 | 显示全部楼层
大神,请问怎么解密
发表于 2019-6-20 23:43:49 | 显示全部楼层
C:\Program Files (x86)\TclPro1.4\win32-ix86\bin>procomp.exe
Usage: startup ?options? path1 ?path2 ...?
  -force        force overwrite; if the output file exists, delete it.
  -help         print this help message.
  -nologo       suppress copyright banner.
  -out name     specifies that the output path is 'name'.  If only one file
                is being compiled, 'name' may specify the complete output file
                name.  Otherwise 'name' must be the name of an existing
                directory to which all compiled files will be written.
  -prefix type  specifies whether a prefix string should be prepended to the
                emitted output files, and if so how it should be generated
                'type' value can be one of the following:
                  none  do not add a prefix string
                  auto  extract the prefix from the input file: everything
                        from the start of the file to the first non-comment
                        or empty line is prepended to the output (default)
                  tag   extract the prefix from the input file: everything
                        from the start of the file to the first occurrence
                        of a comment line starting with the string
                        "TclPro::Compiler::Include" is prepended to output
                Any other value for type is assumed to be a path to a
                file that will be used as the output file prefix.
  -quiet        suppress warnings about non-existent files
  -verbose      verbose mode: messages are generated to log progress.
  pathN         one or more files to compile.
这个加密怎么用啊?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /3 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-25 07:29 , Processed in 0.026983 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表