hmac_encryptor.h
来自「C++ web POSIX framewark」· C头文件 代码 · 共 21 行
H
21 行
#ifndef CPPCMS_HMAC_ENCRYPTOR_H#define CPPCMS_HMAC_ENCRYPTOR_H#include "encryptor.h"namespace cppcms {namespace hmac {class cipher : public encryptor { void hash(unsigned char const *,size_t,unsigned char md5[16]);public: virtual std::string encrypt(std::string const &plain,time_t timeout); virtual bool decrypt(std::string const &cipher,std::string &plain,time_t *timeout=NULL); cipher(std::string key);};} // hmac} // cppcms#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?