从数据包中检索哈希码 [英] retrieve a hashcode from a packet

查看:93
本文介绍了从数据包中检索哈希码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i有以下数据包:



data = kabam_id = 57908157&naid = 57907818&access_token = 92fa8b0d-1cd2-4e0d-82e5 -f828e98891f2&mobileid = 842a5358cb5c4a8dc6c0e07e5a2ce192&platformid = 203&become_user_id =&become_password =&debug = 0&gver = 13.0.0&gameSlot = 8&gameNumber = 1365345604&gameKey =



i想要检索以下哈希码(32位):

128822e1bedbd09eaa210670615f48134



你能为我提供生成32位字符串的算法吗?

提前谢谢

hi
i have the below packet of data:

data=kabam_id=57908157&naid=57907818&access_token=92fa8b0d-1cd2-4e0d-82e5-f828e98891f2&mobileid=842a5358cb5c4a8dc6c0e07e5a2ce192&platformid=203&become_user_id=&become_password=&debug=0&gver=13.0.0&gameSlot=8&gameNumber=1365345604&gameKey=

i want to retrieve the below hashcode (32 digit):
128822e1bedbd09eaa210670615f48134

Can you provide me with algorithm to generate the 32 bit string?
Thanks in advance

推荐答案

请看我对这个问题的评论:没有一个算法。



此外,哈希函数是因不同目的而异。它们至少有两个不同的类别:

http://en.wikipedia.org/wiki/ Hash_function [ ^ ],

http://en.wikipedia.org/wiki/Cryptographic_hash_function [ ^ ]。



这取决于你的目的,您没有费心与我们分享。



您可以从上面引用的文章开始学习算法,但很多可以从.NET获得整箱。



首先,任何类型的每个.NET对象都有一个: http://msdn.microsoft.com/en-us/library/system.object.gethashcode.aspx [ ^ ]。



在加密方面,有许多可用: http://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm.aspx [ ^ ]。



-SA
Please see my comments to the question: there is no one single algorithms.

Also, hash functions are different for different purposes. There are at least two distinct classes of them:
http://en.wikipedia.org/wiki/Hash_function[^],
http://en.wikipedia.org/wiki/Cryptographic_hash_function[^].

It depends on your purpose, which you did not bother to share with us.

You can learn the algorithms starting from the articles referenced above, but a good number of them are readily available from .NET FCL.

First of all, each and every .NET object of any type has one: http://msdn.microsoft.com/en-us/library/system.object.gethashcode.aspx[^].

And on the cryptographic side, a number of them are available: http://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm.aspx[^].

—SA


更多说明:

我有以下数据包或数据:



数据= kabam_id = 57908157&NAID = 57907818&的access_token = 92fa8b0d-1cd2-4e0d-82e5-f828e98891f2&mobileid = 842a5358cb5c4a8dc6c0e07e5a2ce192&platformid = 203&become_user_id =&become_password =&调试= 0&gver = 13.0.0&gameSlot = 8&gameNumber = 1365345604&gameKey =



i需要一个算法来生成be低代码或字符串(32位):

128822e1bedbd09eaa210670615f4813



i使用md5,sha1,...尝试了几种算法

但它们生成的其他代码与我想要的代码不同。

是否有md5算法或函数的自定义来获取我想要的代码?



请提供任何建议
for more clarification:
I have the below packet or data :

data=kabam_id=57908157&naid=57907818&access_token=92fa8b0d-1cd2-4e0d-82e5-f828e98891f2&mobileid=842a5358cb5c4a8dc6c0e07e5a2ce192&platformid=203&become_user_id=&become_password=&debug=0&gver=13.0.0&gameSlot=8&gameNumber=1365345604&gameKey=

i want an algorithm to generate the below code or string (which is 32 bit):
128822e1bedbd09eaa210670615f4813

i tried several algorithm using md5,sha1,...
but they generate me other code different then the code that i want.
is there any customisation for md5 algorithm or function to get the code that i want?

Any advice please


这篇关于从数据包中检索哈希码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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