CnPack Forum

#1 SHA256Hmac如何使用？
procedure SHA256Hmac(Key: PAnsiChar; KeyLength: Integer; Input: PAnsiChar;
Length: LongWord; var Output: TSHA256Digest);

请问这个如何使用？在d10.2.1中，报以下错误，应该是我用法不对。。。

PS:SHA256Print(SHA256StringA(AnsiString(edtSha256.Text)));是正常的，计算结果也正确。

---------------------------
Crypt/Decrypt DEMO
---------------------------
Access violation at address 005F9D68 in module 'Project1.exe'. Read of address 40404040.
--- ..

#1 >>Next Page

Forum:CnVCL 组件包
Thread:SHA256Hmac如何使用？ ...
Next Thread:cnMd5无法计算空文件 ...

Home
Login

Powered by Discuz!