昇腾社区首页
中文
注册

encryptFile

命令功能

加密whitelist文件。

命令格式

./seceasy_encrypt --encryptFile domainId domainCount filePath

参数说明

参数

说明

domainId

域ID,白名单规划使用1。

domainCount

域的数量,规划值为4。

filePath

文件路径。

使用示例

白名单文件为whitelist,调用该接口对其进行加密。

./seceasy_encrypt --encryptFile  1 4  ./whitelist

输出的密文文件会覆盖原有的输入文件。