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

📄 bf_std.h

📁 unix密码破解软件John the Ripper
💻 H
字号:
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-98 by Solar Designer *//* * Standard OpenBSD Blowfish implementation. */#ifndef _JOHN_BF_STD_H#define _JOHN_BF_STD_H#include "arch.h"#include "common.h"typedef ARCH_WORD_32 BF_word;/* * Binary salt type, also keeps the number of rounds. */typedef BF_word BF_salt[4 + 1];/* * Binary ciphertext type. */typedef BF_word BF_binary[6];/* * BF_std_crypt() output buffer. */extern BF_binary BF_out;#define BF_ALGORITHM_NAME		"32/" ARCH_BITS_STR/* * Initializes the internal structures. */extern void BF_std_init();/* * Sets a key for BF_std_crypt(). */extern void BF_std_set_key(char *key);/* * Main encryption routine, sets first two words of BF_out. */extern void BF_std_crypt(BF_salt salt);/* * Calculates the rest of BF_out, for exact comparison. */extern void BF_std_crypt_exact();/* * Returns the salt for BF_std_crypt(). */extern BF_word *BF_std_get_salt(char *ciphertext);/* * Converts an ASCII ciphertext to binary. */extern BF_word *BF_std_get_binary(char *ciphertext);#endif

⌨️ 快捷键说明

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