📄 des.h
字号:
#ifndef __DRSEC_DES_H
#define __DRSEC_DES_H
#if defined(__cplusplus)
extern "C"
{
#endif
#ifndef u8
#define u8 unsigned char
#endif
#ifndef u32
#define u32 unsigned long
#endif
int ds_desKeySetup(u32 *rk, const u8 *key, int keyLen, u32 *flags);
void ds_desEncryptBlock (u32 *rk, u8 *plain ,u8 *cipher);
void ds_desDecryptBlock (u32 *rk, u8 *cipher,u8 *plain );
int ds_des3KeySetup(u32 *rk, const u8 *key, int keyLen, u32 *flags);
void ds_des3EncryptBlock (u32 *rk, u8 *plain ,u8 *cipher);
void ds_des3DecryptBlock (u32 *rk, u8 *cipher,u8 *plain );
#if defined(__cplusplus)
}
#endif
#endif /* __DRSEC_DES_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -