Replace Laravel 4 hasher with common hashing function.