How to decide which cryptographic hash to use? [duplicate]

0

I would like to know in which cases I should use the various hashes, as far as I know there are large differences between security and processing between them.

Are there any considered the best in relation to speed x security?

    
asked by anonymous 06.02.2015 / 18:10

2 answers

0

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

The new European Schemes for Signatures, Integrity and Encryption (NESSIE), a European organization and by ISO itself is Whirlpool-T.

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

    
06.02.2015 / 19:03
0

I would suggest a hash algorithm, in this case the BLAKE2. BLAKE was one of the finalists to be the algorithm for SHA-3, but Keccak was victorious.

But it has undergone some modifications, the second version (BLAKE2), which says it is faster than MD5 and as strong as the current SHA-3

More about: link

    
06.02.2015 / 19:18