搜索结果:有29条符合条件的记录,共2页,耗时150.8789毫秒 | 第一页 | 上一页 | 下一页 | 最后页 |
主题:请教是否有delphi7适用的HMAC-SHA256算法 |
摘要:请教是否有delphi7适用的HMAC-SHA256算法?有没有现成的单元或者控件能实现?谢谢 |
作者:ken0137 时间:2019/12/1 12:28:37 |
回复:cnvcl里的计算结果完全一致。HMAC-SHA256 |
作者:ksrsoft 时间:2024/1/21 13:05:07 |
主题:CryptoLib4Pascal: Crypto for Modern Object Pascal License |
摘要:…… HMAC (all supported hashes) KMAC (KMAC128, KMAC256) Hashes MD2 MD4 MD5 SHA-1 SHA-2 (224, 256, 384, 512, 512-224, 512-256) Gost3411 Gost3411-2012 (256, 512) RIPEMD (128, 160, 256, 256, 320) Tiger WhirlPool Blake2B (160, 256, 384, 512)…… |
作者:emailx45 时间:2020/2/29 10:34:55 |
主题:HMACSHA1 delphi与C#不一致的问题求助 |
摘要:生成HMACSHA1签名,delphi与C#生成的不一样,C#的结果是正确的,不知问题出在哪 delphi: procedure TForm1.Button1Click(Sender: TObject); var UserKey, StringToSign, SignText: String; bs: TIdBytes; begin UserKey := 'r1t51acedv9cpmuswrti28dpkynut9r9'; StringToSign := 'PO…… |
作者:denis 时间:2024/1/16 12:03:24 |
回复:调试看变量 参数一致 delphi里的 HashValue 跟 C#里的 hmac.Hash 返回的结果不同 |
作者:denis 时间:2024/1/16 13:49:55 |
回复:5楼说的全面。 特别是第6点字符编码,如果是调用OpenSSL的库,最好用RawByteString来传参,不然总不对。 比如简单的HMAC(),如果不用RawByteString传参,OpenSSL的计算和System.Hash.HMAC()的计算不一样。 |
作者:janker 时间:2023/3/12 23:01:27 |
回复:……de, HMAC, key derivation) Zero-configuration and application level cryptography Algorithms provided by the peer reviewed OpenSSL crypto library. Configurable crypto providers ...…… |
作者:emailx45 时间:2022/7/18 22:09:12 |
主题:阿里云的这个签名算法,怎么转成Delphi的? |
摘要:……", "HMAC-SHA1"); paras.put("SignatureNonce", java.util.UUID.randomUUID().toString()); paras.put("AccessKeyId", accessKeyId); paras.put("SignatureVersion", "1.0"); paras.put("Timestamp", df.format(new java.util.Date())…… |
作者:yesin119 时间:2019/4/8 9:50:33 |
主题:基于Google Authenticator的动态口令 |
摘要:……y,使用HMAC-SHA-1 和 当前时间戳计算密码. 5.只要Google Authenticator所在设备时间 与 system时间一致,则system计算出的密码与Google Authenticator的密码一致,登录验证通过. 使用场景: 1.替代用户密码 或 验证码 2.用户身份二次验证. 3.用户安全性要求较高的操作. 附件使用说明: 1.HMAC-SHA-1使用indy提供的算法. 2.indy对象使用了对象池,改为直接创建后,在Delphi10.2编译通过.…… |
作者:dmzn 时间:2020/10/17 18:57:53 |
主题:Delphi HMACSHA256有换行的字符时不一样问题 |
摘要:大佬们好!!! 加密的函数用的是这个 uses IdGlobal, IdHashSHA, IdHMAC, IdHMACSHA1, IdSSLOpenSSL; function CalculateHMACSHA256(const value, salt: String): String; var hmac: TIdHMACSHA256; hash: TIdBytes; begin LoadOpenSSLLibrary; if not TIdHashSHA256.I…… |
作者:lightdc 时间:2020/9/16 14:55:45 |
回复:Delphi ========== function CalculateHMACSHA256(const value, salt: String): String; var hmac: TIdHMACSHA256; hash: TIdBytes; begin LoadOpenSSLLibrary; try if not TIdHashSHA256.IsAvailable then raise Exception.Create('SHA256 hash…… |
作者:teclick 时间:2020/9/16 17:31:47 |
主题:Delphi WeChat payment SDK [supports MD5 and HMAC-SHA256 signatures and verification] |
摘要:Delphi WeChat payment SDK [supports MD5 and HMAC-SHA256 signatures and verification] Delphi WeChat payment SDK [supports MD5 and HMAC-SHA256 signatures and verification] D7 ~ XE10 general scoring [delphi WeChat payment SDK] SDK packaged according to ap…… |
作者:emailx45 时间:2020/4/25 3:23:15 |
主题:Introducing mORMot-JWT: (JSON Web Tokens) a "new" JWT implementation by Andrea Magni |
摘要:……ugh HMAC SHA256, for example) and so far I used (a fork of mine of) a library named JOSE JWT that relies on OpenSSL to implement cryptographic functions and thus forces you to distribute OpenSSL with your software. https://github.com/andrea-magni/MAR…… |
作者:emailx45 时间:2020/4/20 8:57:08 |
主题:微信支付 发起支付 jsapi/h5支付 参考代码 |
摘要:今天正式复工,祝大家工作顺利、身体安康!2020年为自己和家人创造幸福与快乐。 赠送一份webpascal的脚本,仅供参考,哈。。。 没有接触过webpascal的,也无所谓,参考一下就行,里面只用到一个hmac算法,在cnvcl和高版本delphi的hash单元里都有,这里只演示了微信支付的发起,其它处理包括推送接收、校验,请参考微信官网文档自行处理。 |
作者:star5 时间:2020/3/23 10:46:56 |
回复:http://search.2ccc.com/Default.asp?site=SELF&keyword_and=hmac&keyword_or=&pagerow_cnt=20&Submit=%C8%AB%CE%C4%BC%EC%CB%F7 [img]http://bbs.2ccc.com/faces/45.gif[/img] 好了不调侃你了, http://www.zystudios.cn/blog/post/65.Shtml 我大盒子搜索都用不好。。估计你百度也不会。。。 吐槽下自带得…… |
作者:keymark 时间:2019/12/1 15:58:44 |
回复:大约看了下 https://github.com/Xor-el/CryptoLib4Pascal/search?utf8=%E2%9C%93&q=hmac&type= 好像有?自己折腾去吧。 |
作者:keymark 时间:2019/12/1 15:02:51 |
主题:WebPascal脚本模型3.6发布 |
摘要:……ash和Hmac,支持SHA224、SHA256、SHA384、SHA512、SHA512_224、SHA512_256、SHA1、MD5和 HmacSHA224、HmacSHA256、HmacSHA384、HmacSHA512、HmacSHA512_224、HmacSHA512_256、HmacSHA1、HmacMD5算法; -移除SHA1、SHA224、SHA256、SHA384、SHA512、HmacMD5、HmacSHA1、HmacSHA224、HmacSHA256、HmacSHA3…… |
作者:star5 时间:2019/9/17 11:10:57 |
回复:Hmac_sha1算法,Delphi其实一行就能搞定,当然得新版本 TNetEncoding.Base64.EncodeBytesToString(hash.THashSHA1.GetHMACAsBytes('计算内容','密钥')) |
作者:comeheres 时间:2019/4/8 12:00:37 |
回复:这里主要是Hmac_sha1这个算法,其它的都好办。 uses IdGlobal, IdHashSHA, IdHMAC, IdHMACSHA1; function HMACSHA1(const Sign, Key: String): String; var hmac: TIdHMACSHA1; hash: TIdBytes; begin LoadOpenSSLLibrary; hmac := TIdHMACSHA1.Create; try hma…… |
作者:ghs_79 时间:2019/4/8 11:52:07 |
回复:GMT 时间 新版本 delphi 内置 HMAC SHA1 新版本 delphi 内置 randomUUID 我们是 GUID,不过,可能存在 大小写区别 是不是带括号的区别。 另外,你缺少一堆函数的 实现代码。 我们也懒得去猜。 |
作者:wang_80919 时间:2019/4/8 11:10:50 |
第一页 | 上一页 | 下一页 | 最后页 |
DELPHI盒子版权所有 |