请允许我说,你正计划设计一个散射功能,它将产生0-256之间的钥匙。 是否使用第一批2位数的MD5-digest,是统一分配的伟大想法? 你们对此有何考虑? 这对五字(2-10封信)是否昂贵?
我知道,这是对各项要求的一个粗略定义,但讨论这一问题将非常大。
请允许我说,你正计划设计一个散射功能,它将产生0-256之间的钥匙。 是否使用第一批2位数的MD5-digest,是统一分配的伟大想法? 你们对此有何考虑? 这对五字(2-10封信)是否昂贵?
我知道,这是对各项要求的一个粗略定义,但讨论这一问题将非常大。
没有理由将加密强度h用作生成3个数字斜体的简单内容。 你们更不用使用更简单的洗衣。
I m 并不具体地确定为什么昂贵的MD5与他人相对,但有一些更好的办法创建小型散列(见,就某些算法而言,第条)。
MD5旨在统一传播所有产出的投入,使之与任何其他一般散射功能一样好——如果你只想要256个数值的话,就象超高射线。
注:MD5的输出量为128比特(16比特),它只代表了中位数,因此实际上没有任何第2位数的MD5——只是使用底线8。
你没有解释你如何重新使用该油轮,以及鉴于你只拥有256个产出值,你会再次与不可避免的碰撞做些什么。
我认为,即便是MD5(在密码上不能再有保障),也对于可能的应用来说过于熟练。
我或许会拿到 (cyclic reundancyeck)算法,这将给你带来16倍或32倍的数字,并有可能使你得到充分的分发。
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 ...
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 ...
Three SHA512Managed related questions: Is SHA512Managed considered the best one-way hash available in .NET 3.5 for security? What Salt size should be used with SHA512Managed? The application is for ...
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
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 ...
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 ...
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 ...
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....