📄 readme
字号:
This is version 2.5a of Snefru. Version 2.5a implementsthe same algorithm as Versions 2.0, 2.1, 2.2, and 2.3.Version 2.5a allows 8 passes, and includes the necessarytables for 8 passes. The use of 4 passes for productionuse is not recommended at this time. While 4 pass Snefruhas not been broken as of 90.11.30, the use of additionalpasses seems advisable in view of the break of 2 pass Snefru.Snefru reads from the standard input, hashes whatever isread, and writes the hash result (in hex) to the standard output.While 2.5a has not been optimized for speed, it shouldprovide reasonable performance. At the same time, theimplementation should be relatively easy to understand.One C source file has been provided: snefru.cTo compile, simply say:cc -o snefru snefru.cThe shell script "testSnefru" is provided, along with thecorrect output values in "correctSnefruOutput". Simply executetestSnefru to test the hash function.To generate a version of Snefru that produces 256-bit output, say:cc -o snefru256 -DOUTPUT_BLOCK_SIZE=8 snefru.cTo test this version, execute the shell file "testSnefru256".
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -