crypto.h

来自「功能强大的ftp服务器源代码」· C头文件 代码 · 共 32 行

H
32
字号
#ifndef __CRYPTO_H__#define __CRYPTO_H__ 1#if SIZEOF_SHORT == 4typedef short crypto_int4;typedef unsigned short crypto_uint4;#elif SIZEOF_INT == 4typedef int crypto_int4;typedef unsigned int crypto_uint4;#elif SIZEOF_LONG == 4typedef long crypto_int4;typedef unsigned long crypto_uint4;#elif SIZEOF_SHORT > 4typedef short crypto_int4;typedef unsigned short crypto_uint4;#elif SIZEOF_INT > 4typedef int crypto_int4;typedef unsigned int crypto_uint4;#elif SIZEOF_LONG > 4typedef long crypto_int4;typedef unsigned long crypto_uint4;#else# error Please report your architecture and OS type to j@pureftpd.org#endifchar *crypto_hash_sha1(const char *string, const int hex);char *crypto_hash_ssha1(const char *string, const char *stored);char *crypto_hash_md5(const char *string, const int hex);char *crypto_hash_smd5(const char *string, const char *stored);#endif

⌨️ 快捷键说明

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