⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crc32.h

📁 UNIX、linux密码的破密程序源代码实现
💻 H
字号:
/* * This is a tiny implementation of CRC-32. * * Written by Solar Designer <solar at openwall.com> in 1998, revised in * 2005 for use in John the Ripper, and placed in the public domain. * There's absolutely no warranty. */#ifndef _JOHN_CRC32_H#define _JOHN_CRC32_Htypedef unsigned int CRC32_t;/* * When called for the first time, allocates memory for and initializes * the internal table.  Always initializes the CRC-32 value to all 1's. */extern void CRC32_Init(CRC32_t *value);/* * Updates the current CRC-32 value with the supplied data block. */extern void CRC32_Update(CRC32_t *value, void *data, unsigned int size);/* * Finalizes the CRC-32 value by inverting all bits and saving it as * little-endian. */extern void CRC32_Final(unsigned char *out, CRC32_t value);#endif

⌨️ 快捷键说明

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