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

📄 rc4.h

📁 About WepDecrypt: Wepdecrypt is a Wireless LAN Tool written in c which guesses WEP Keys based o
💻 H
字号:
/********************************************************************************* File:   		rc4.h* Date:   		2002-09-24* Author: 		Alain Girardet/Dominik Blunk* Last Modified:	2002-10-24** Description: Implementation of RC4 algorithm** This program is free software; you can redistribute it and/or modify it under* the terms of the GNU General Public License as published by the Free Software* Foundation; either version 2 of the License, or (at your option) any later* version. See http://www.fsf.org/copyleft/gpl.txt.** This program is distributed in the hope that it will be useful, but WITHOUT ANY* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A* PARTICULAR PURPOSE. See the GNU General Public License for more details.*********************************************************************************/#ifndef WEPDECRYPT_RC4_H#define WEPDECRYPT_RC4_Htypedef struct rc4_key rc4_key;struct rc4_key{     unsigned char state[256];     unsigned char x;     unsigned char y;};//// prepare key for rc4, do not proceed rc4 twice with the same prepared// key! it will no produce an equivalent result because of the// initialisatio of the key//void prepare_key(unsigned char *key_data_ptr,int key_data_len,rc4_key *key);//// applies rc4 on specified buffer//void rc4(unsigned char *buffer_ptr,int buffer_len,rc4_key * key);#endif

⌨️ 快捷键说明

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