blowfish.h

来自「使用visual studio 2005 开发的开源文件、磁盘加密软件。这是6.」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef TC_HEADER_Crypto_Blowfish
#define TC_HEADER_Crypto_Blowfish

#ifdef  __cplusplus
extern "C" {
#endif

typedef struct BF_KEY_STRUCT
{
	unsigned __int32 pbox[18];
	unsigned __int32 pbox_dec[18];
	unsigned __int32 sbox[4*256];
} BF_KEY;

void BlowfishSetKey (BF_KEY *key, int keylength, unsigned char *key_string);
void BlowfishEncryptLE (unsigned char *in, unsigned char *out, BF_KEY *ks, int encrypt);

#ifdef  __cplusplus
}
#endif

#endif // TC_HEADER_Crypto_Blowfish

⌨️ 快捷键说明

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