Snippets tagged “hashing”
3 snippets use this tag.
- Best way to store passwords in MYSQL databasePHP
The best way to store passwords in a MySQL database is to use a one-way hashing algorithm, such as bcrypt or scrypt, to hash the password before storing it in the database.
- Good Hash Function for StringsJava
A good hash function for strings should have the following properties:
- How to Generate a Random String with PHPPHP
This tutorial includes several methods of generating a unique, random, alpha-numeric string with PHP. Follow the examples below, it will be easily done.