How-to articles, tricks, and solutions about HASH
Good Hash Function for Strings
A good hash function for strings should have the following properties:
How can I generate an MD5 hash in Java?
To generate an MD5 hash in Java, you can use the MessageDigest class from the java.security package.
How to Use bcrypt to Hash Passwords in PHP
There is a password hashing technique, used for building the security of passwords. It is called bcrypt. Here, you will learn how to use it in PHP.
How to Use the mhash_keygen_s2k() Function in PHP
The aim of this snippet is to represent to you the PHP mhash_keygen_s2k() function. Read on and check out the example for better understanding.