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

📄 arc4.h

📁 介绍了ARC4加密算法。以单片机为主控器
💻 H
字号:
/*****************************************************************************
*
* File: arc4.h
* 
* Copyright S. Brennen Ball, 2007
* 
* The author provides no guarantees, warantees, or promises, implied or
*	otherwise.  By using this software you agree to indemnify the author
* 	of any damages incurred by using it.
* 
*****************************************************************************/

#ifndef _ARC4_H_
#define _ARC4_H_

////////////////////////////////////////////////////////////////////////////////////
// Function declarations
//
// Below are all function definitions contained in the library.  Please see
//  arc4.c for comments regarding the usage of each function.
////////////////////////////////////////////////////////////////////////////////////

void arc4_initialize_ksa(unsigned char * key, unsigned int keylen);
unsigned char arc4_get_prga_byte(void);
void arc4_encrypt(unsigned char * buffer, unsigned int bufflen);
void arc4_decrypt(unsigned char * buffer, unsigned int bufflen);

#endif //_ARC4_H_

⌨️ 快捷键说明

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