CryptDecode
CryptDecode
执行对由 CryptEncode() 转换后的数组数据进行逆向转换的操作。
int CryptEncode(
ENUM_CRYPT_METHOD method, // method
const uchar& data[], // source array
const uchar& key[], // key
uchar& result[] // destination array
);参数
- method
[in] 数据转换方法。可以是 ENUM_CRYPT_METHOD 枚举值之一。
- data[]
[in] 源数组。
- key[]
[in] 密钥数组。
- result[]
[out] 目标数组。
返回值
目标数组中字节的数量,或发生错误时返回 0。要获取关于错误的信息,请调用 GetLastError() 函数。
另请参阅
最后更新于