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

📄 sqecb.h

📁 一些加密解密的源代码
💻 H
字号:
#ifndef __SQECB_H#define __SQECB_H/*	Electronic Code Book (ECB) mode support	IMPORTANT REMARKS:		1.	Input buffers to the encryption/decryption functions		must be word-aligned on machines which have this as a requirement.	2.	The buffer lengths must be multiples of SQUARE_BLOCKSIZE.*/#include "square.h"typedef struct {	squareKeySchedule roundKeys_e, roundKeys_d;} squareEcbContext;void squareEcbInit    (squareEcbContext *ctxEcb, const squareBlock key);void squareEcbEncrypt (squareEcbContext *ctxEcb, byte *buffer, unsigned length);void squareEcbDecrypt (squareEcbContext *ctxEcb, byte *buffer, unsigned length);void squareEcbFinal   (squareEcbContext *ctxEcb);#endif /* __SQECB_H */

⌨️ 快捷键说明

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