readme
来自「文件驱动加密,功能强大,可产生加密分区,支持AES,MD2,MD4,MD5MD2」· 代码 · 共 63 行
TXT
63 行
Optimized ANSI C Diskette
Files on this diskette (or in this ZIP file):
File Name Description
========================================================================
README This file
PLATFORM.H Platform-specific definitions (e.g., endianness, rotates)
TABLE.H Macros and tables for Twofish internal structures
AES.H AES header file, function prototypes, API explanation/example
DEBUG.H Debug i/o macros and functions
TWOFISH2.C Optimized ANSI C source code
TST2FISH.C Test code, links with TWOFISH2.C to generate KAT/MCT
COMPILE.BAT Batch file used to compile TST2FISH.EXE. See this file for
the set of compiler options used to optimize performance.
Using this batch file should produce performance numbers
very similar to those in listed in our paper.
Run with -DDEBUG option to enable intermediate value file,
(but performance will be affected).
TST2FISH.EXE Executable 32-bit console app of TST2FISH.C and TWOFISH2.C
linked together.
========================================================================
Notes:
To programmers wishing to use the Twofish code: please see the
example code (and comments) at the end of the file AES.H showing how
the Twofish functions are typically used.
The program TST2FISH.EXE will generate the full set of KAT/MCT/Tables
files in the current directory, if run with the -M switch:
TST2FISH -M
When run without command-line parameters, it will generate a partial MCT set,
since the full set takes a long time. To generate the intermediate value
test file, you must compile with the -DDEBUG option.
When run with a question mark character ('?') as a parameter, TST2FISH.EXE
will display a help screen of command line options.
It is recommended that the version of TST2FISH.EXE compiled with the
optimized ANSI C code be used to generate the full MCT file set, since
the reference version is considerably slower.
To try the various key scheduling tradeoffs, compile with the following
options:
-DFULL_KEY -- default, full key schedule, fastest encryption
-DPART_KEY -- partial keying (four 8-bit S-boxes)
-DMIN_KEY -- minimal keying (four partial 8-bit S-boxes)
-DZERO_KEY -- zero keying (no S-box precomputation)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?