.NET 1.1 Web应用程序上的Hmacsha256 [英] Hmacsha256 on .NET 1.1 web app

查看:76
本文介绍了.NET 1.1 Web应用程序上的Hmacsha256的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个.net 1.1网络应用程序,我需要使用带有密钥的HMACSHA256加密数据,这是不受支持的。我无法升级项目,因为它是我们的客户实时网站。将此算法用于在线支付非常重要 - 银行不支持其他算法。



有没有人遇到同样的问题?



谢谢!



我尝试了什么:



我试图使用Bouncy Castle dll,但没有成功它有效。

Hello all,

I have a .net 1.1 web app and i need to encrypt data with HMACSHA256 with key, which is not supported. I cannot upgrade the project, since it is our clients live website. It is really important to use this algorithm for online payments - no other algorithm is supported by the bank.

Has anyone faced the same issue?

Thank you!

What I have tried:

I tried to use Bouncy Castle dll, but did not manage to make it work.

推荐答案

有几件事:

1)对你来说可能是紧急的,但它不适合我们。所有你强调紧迫感的事情就是让我们认为你已经太晚了,并且希望我们为你做这件事。这会让一些人感到烦恼,并且会减慢回复。

2)永远不要接受来自不安全网站的代码来处理与真钱有关的任何事情。

你这样做不知道是谁给你代码,你不知道它做了什么,你不知道它将钱正确地放入适当的账户,而不将细节传递给任何第三方。



只从信誉良好的信用卡交易服务公司获得此类代码 - 否则欺诈范围太大。请记住,如果您的行为被视为疏忽,您个人可能要对任何损失承担责任 - 从公共论坛获取您的代码肯定会是!

3)从.NET 1.1升级到至少V4,并且它受到支持: HMACSHA256 Class (System.Security.Cryptography)| Microsoft Docs [ ^ ]使用过时的安全应用程序框架?不是一个好主意,根本不是......
Several things:
1) It may be urgent to you, but it isn't to us. All that your stressing the urgency does is to make us think you have left it too late, and want us to do it for you. This annoys some people, and can slow a response.
2) Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.

Only get such code from reputable card transaction service companies - the scope for fraud otherwise is far too large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!
3) Upgrade from .NET 1.1 to at least V4, and it's supported: HMACSHA256 Class (System.Security.Cryptography) | Microsoft Docs[^] using outdated frameworks for security apps? Not a good idea, not at all...


这篇关于.NET 1.1 Web应用程序上的Hmacsha256的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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