6
Still talking about the reply about hash code it was not clear what should be observed to produce good hash codes. I understood that it needs to be a number that doesn’t generate a lot of repetition, but just this?
6
Still talking about the reply about hash code it was not clear what should be observed to produce good hash codes. I understood that it needs to be a number that doesn’t generate a lot of repetition, but just this?
7
I went to see the blog from Eric Lippert where he has legal information:
GetHashCode()
should not be part of all objects of language as is what occurs by being defined in Object
.They are not obligations, but in almost all cases it is better to do so.
3
in my opinion, a good hashing algorithm should:
let’s assume for example that wants to hash six digits with a hexadecimal encoding. must:
by doing this, you can get all the permutation keys from that hash can also do the same with ascii protocol, or for any other data representation system.
0
a good simple and easy way to create a hash code in Unix is:
can be called pwgen by in any other backend language, usand a method, object, etc. to invoke Unix commands, and return them to the console of the website
to generate a hash with pwgen:
pwgen 20 1
, which should return an identity hash to Ruzooyae6chiiQuei5ah
So the only thing you have to do is figure out how to invoke shell commands from c#, invoke the pwgen command, and arm the output in a variable that you will then use somewhere in the program. the answer to something identical can be found here:
Browser other questions tagged c# .net hash
You are not signed in. Login or sign up in order to post.
provide an example of how to generate the hash please, so we all learn.
– h3nr1ke