VB6问题-愿意共享HMACSHA1实现的任何人 [英] VB6 question - anyone willing to share an HMACSHA1 implementation

查看:178
本文介绍了VB6问题-愿意共享HMACSHA1实现的任何人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在VB6中实现HMACSHA1,并且遇到了考虑迁移到vb.net的第一个真正原因(毫无疑问,其他人只是他们还没有给我带来问题),我知道如何这很容易使用.cryptography,但是尽管搜索/查看了RFC,但我还没有提出一种为输入的测试集生成正确答案的解决方案

I have need to implement HMACSHA1 within VB6 and have come up against the first real reason for considering moving to vb.net (there are no doubt others but they just haven''t caused me a problem yet) I can see how easy this would be using .cryptography but despite searching/looking at RFCs I haven''t come up with a solution that generates the correct answers for a test set of inputs

Does anyone have this tee-shirt and is willing to share?

推荐答案

您可以尝试使用代码 ^ ]并与独立的.net实现中的测试数据进行比较,以确保其有效性


这是ActiveX形式的另一个实现; http://www.example-code.com/vb/vb-sha-1_sha- 256.asp [ ^ ]

网上还有其他人,您只需要为它们闲逛即可. :)
You could try the code HERE[^] and compare to a test data on a standalone .net implementation to ensure its validity


Here is another implementation, in the form of an ActiveX; http://www.example-code.com/vb/vb-sha-1_sha-256.asp[^]

There are others on the net, you just need to poke around for them. :)


这篇关于VB6问题-愿意共享HMACSHA1实现的任何人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆