[PrestaShop] Module for numeric order references

By default reference code contains only random uppercase letters – like this:
ABCDEFGHI, BCDEFGHIJ, CDEFGHIJK etc.

By my module your new order references will be numeric – like this:
000000001, 000000002, … 000000129 etc.

Just upload my module to your PrestaShop and install it – it’s all 🙂

See on github.com

How To Safely Store A Password

How To Safely Store A Password ? Use bcrypt !

Why Not {MD5, SHA1, SHA256, SHA512, SHA-3, etc}?

These are all general purpose hash functions, designed to calculate a digest of huge amounts of data in as short a time as possible. This means that they are fantastic for ensuring the integrity of data and utterly rubbish for storing passwords.

A modern server can calculate the MD5 hash of about 330MB every second. If your users have passwords which are lowercase, alphanumeric, and 6 characters long, you can try every single possible password of that size in around 40 seconds.

And that’s without investing anything.  Continue reading How To Safely Store A Password