How to decide which cryptographic hash to use?

Asked

Viewed 335 times

0

I would like to know in which cases I should use the various existing hash, because I know there are big differences between security and processing between them.

Is there any considered the best relative speed x safety?

  • I think this already answers this: http://answall.com/q/2402/101

  • Just what I needed. I must remove the question @bigown?

  • I think this case would be good.

2 answers

0

The most common of all is MD5, most databases already have native functions to generate this type of hash. This is also your main problem because there are already MD5 libraries on the internet, so if you want to use it add a prefix and/or a suffix something like 123456.

Whirlpool-T is recommended by the New European Schemes for Signatures, Integrity and Encryption (NESSIE), a European organisation and by ISO itself.

Personally I use MD5 after adding suffixes and prefixes and shuffling the message.

  • 3

    MD5 is not a safe algorithm, it is possible to break with collision algorithms, the SHA-2 or SHA-3 no longer suitable to perform a Hash. As for Salt, it is not interesting that it is a statistical and predictable value, ideally it would be to use a Guid for the service.

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.