arc4.h
来自「nRF24L01开发指导」· C头文件 代码 · 共 29 行
H
29 行
/*****************************************************************************
*
* 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 + =
减小字号Ctrl + -
显示快捷键?