作业帮 > 综合 > 作业

哪位程序员给我翻译一下这一段英文?

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/17 08:52:12
哪位程序员给我翻译一下这一段英文?
pass a key made up of 8 16-bit numbers (word16) in an array
("word16 key[8];"), an input FILE * and an output temporary
FILE * to either encode_file() or decode_file().
where the key comes from is up to you.
then call swap_files_and_clean_up() with the original file's
name as the argument, to replace the original file
with the encoded data (stored in the temporary file).

you can remname the tempfile to be used in idea.h
noisy is an integer which tells encrypting/decrypting
functions to echo a "." every 256 writes, so the user can
see that something is happening. set it to 0 for quiet
running.

please note that for really good security the original file
is overwritten before being erased if you use the w switch.
otherwise it outputs a file ".enc"

the main() used here as illustration reads the filename
from the command line arguments, as well as a command
"e" or "d" to tell it whether to encrypt or
decrypt, and a key. the older versions had an interface
for when a command line was not use. lack of editing
features made this buggy, so i axed it. */
通过了一个关键的8 16位数字( word16 )在一个数组
( “ word16关键[ 8 ];"),*输入文件和输出临时
档案*要么encode_file ( )或decode_file ( ) .
其中的关键来自于完全由您决定.
然后调用swap_files_and_clean_up ( )与原始档案的
名称作为论据,来取代原来的文件
与编码数据(存放在临时文件) .
您可以remname的tempfile用于idea.h
噪音是一个整数,告诉加密/解密
职能重复的“ .”每256写道,以便用户可以
看到的东西正在发生.将其设置为0的宁静
运行.
请注意,对于真正的安全的原始档案
被覆盖之前,删除如果使用w开关.
否则输出的文件“ .电子海图”
主要( )用在这里作为例子读取文件名
从命令行参数,以及一个命令
“ E ”类或“ D ”来告诉它是否加密或
解密,以及一个关键.旧版有一个接口
因为当一个命令行是不能使用.缺乏编辑
功能使这一漏洞,所以我用斧头它.* /