我现在有一个加密函数,需要将一段数据加密,加密的这段数据需要的输入是pbyte类型,
而这段数据我想输入到memo 中,也就是从memo中取出来。不知道改怎么样将string类型转换成pbyte.函数定义
Type Crypt_Enc_Block=function(input:Pbyte;in_len:integer;output:Pbyte;out_len:intx;key:Pbyte;key_len:integer ):integer;stdcall;