emsa_raw.cpp
来自「含有多种公开密钥算法、多种块加密、多种数据流加密、多种HASH函数、多种Chec」· C++ 代码 · 共 38 行
CPP
38 行
/************************************************** EMSA-Raw Source File ** (C) 1999-2002 The Botan Project **************************************************/#include <botan/emsa_raw.h>namespace Botan {/************************************************** EMSA-Raw Encode Operation **************************************************/void EMSA_Raw::update(const byte input[], u32bit length) { message.append(input, length); }/************************************************** Return the raw (unencoded) data **************************************************/SecureVector<byte> EMSA_Raw::raw_data() { SecureVector<byte> buf(message, message.size()); message.destroy(); return buf; }/************************************************** EMSA-Raw Encode Operation **************************************************/SecureVector<byte> EMSA_Raw::encoding_of(const SecureVector<byte>& msg, u32bit) { return msg; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?