47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
ende 加解密工具链说明
|
||
ENDE(ENcrypt & DEcripyt)) toolkits
|
||
|
||
#使用帮助
|
||
[root@5gc iv]# ./ende
|
||
Usage:
|
||
|
||
#加密文件
|
||
#原文件 plaintext_file
|
||
#加密后文件 encrypted_file
|
||
./ende en plaintext_file encrypted_file
|
||
|
||
#解密文件
|
||
#加密后文件 encrypted_file
|
||
#原文件 plaintext_file
|
||
./ende de encrypted_file plaintext_file
|
||
|
||
|
||
#查看原始文件 md5
|
||
[root@5gc iv]# sha256sum aa.txt
|
||
5b48bfb3520011d6152f04c0b4facf83481c34b6abf7469e2e41ef2bfe3bd568 aa.txt
|
||
|
||
#加密文件
|
||
[root@5gc iv]# ./ende en aa.txt aa.en
|
||
注意:执行完,则将 aa.txt 加密成 aa.en
|
||
|
||
|
||
#解密文件
|
||
[root@5gc iv]# ./ende de aa.en aa.de
|
||
注意:执行完,则将 aa.en 解密成 aa.de
|
||
|
||
#查看加密后文件 md5
|
||
[root@5gc iv]# sha256sum aa.en
|
||
f88cd2d6d429cfcef1a43e89e1d88e673cb66b9660131508aa8165ede3ca0cb7 aa.en
|
||
|
||
#解密后文件和原文件不同,如果使用vi打开查看,则会发现是乱码
|
||
|
||
|
||
#查看解密后文件 md5
|
||
[root@5gc iv]# sha256sum aa.de
|
||
5b48bfb3520011d6152f04c0b4facf83481c34b6abf7469e2e41ef2bfe3bd568 aa.de
|
||
|
||
|
||
#解密后文件和原文件一致
|
||
|
||
|