Palzin Track
Get 15% off with code PTRACKSIGNUP15 

Laravel Diary Logo

Laravel: Implementing a CRYPT_EXT_DES Hasher

This article explains how to create an implementation of Illuminate\Contracts\Hashing\Hasher using PHP's crypt function and the CRYPT_EXT_DES hashing function. The implementation includes the make, check, and needsRehash methods, each with different functionalities. The make method handles the actual hashing, allowing users to supply a salt and control the number of iterations. The check method compares a given value with a...