cipher_hash_test.c

来自「常用的64位密码加密算法」· C语言 代码 · 共 21 行

C
21
字号
/* test the ciphers and hashes using their built-in self-tests */#include "test.h"int cipher_hash_test(void){   int x;      /* test ciphers */   for (x = 0; cipher_descriptor[x].name != NULL; x++) {      DO(cipher_descriptor[x].test());   }      /* test hashes */   for (x = 0; hash_descriptor[x].name != NULL; x++) {      DO(hash_descriptor[x].test());   }      return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?