English 中文(简体)
MD5等作为散射功能
原标题:MD5 etc. as a hash function
  • 时间:2010-11-05 18:44:10
  •  标签:
  • hash

请允许我说,你正计划设计一个散射功能,它将产生0-256之间的钥匙。 是否使用第一批2位数的MD5-digest,是统一分配的伟大想法? 你们对此有何考虑? 这对五字(2-10封信)是否昂贵?

我知道,这是对各项要求的一个粗略定义,但讨论这一问题将非常大。

最佳回答

http://www.miscel.dk/MiscEl/CRCcalculations.html”rel=“nofollow”>calculating an 8-bit CRC

问题回答

没有理由将加密强度h用作生成3个数字斜体的简单内容。 你们更不用使用更简单的洗衣。

I m 并不具体地确定为什么昂贵的MD5与他人相对,但有一些更好的办法创建小型散列(见,就某些算法而言,第条)。

MD5旨在统一传播所有产出的投入,使之与任何其他一般散射功能一样好——如果你只想要256个数值的话,就象超高射线。

注:MD5的输出量为128比特(16比特),它只代表了中位数,因此实际上没有任何第2位数的MD5——只是使用底线8。





相关问题
hmac-sha1 in ruby differs from C# HMACSHA1

I am trying to test the API from ankoder.com and have problem on the digest calculation for the authentication token . The sample is ruby while I am trying to call from C#. When I compare the digest ...

Make md5 strong

Im making a website that will intergrate with game that only support md5 hashing metod (atm). Which ofc is not especially safe anymore. But how could i make it stronger? Should I just generate long ...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Utility to hash and list files with identical contents?

UltraEdit saves temporary, ie. unsaved/untitled, files as (regex) "Edit.d+". When UltraEdit is killed (I do this when some software nags me to reboot), I noticed that it doesn t always save files in ...

How can I assign multiple values to a hash key?

For the sake of convenience I am trying to assign multiple values to a hash key in Ruby. Here s the code so far myhash = { :name => ["Tom" , "Dick" , "Harry"] } Looping through the hash gives a ...

Concurrent modification whilst traversing a ruby Hash

Suppose you had this: def wipeProduct(hash, nameToDelete) hash.each do |i| key = i[0] productName = i[1].first hash.delete(key) if productName==nameToDelete end end I m not sure it ...

Ruby (RoR) XML to hash and then show in views

I have some xml on server (http://server.com/my.xml). Here is the example: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE current PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3....

热门标签