Just take a look at the provided hashers:
https://github.com/cartalyst/sentry/blob/master/src/Cartalyst/Sentry/Hashing/BcryptHasher.php https://github.com/cartalyst/sentry/blob/master/src/Cartalyst/Sentry/Hashing/WhirlpoolHasher.php https://github.com/cartalyst/sentry/blob/master/src/Cartalyst/Sentry/Hashing/Sha256Hasher.php
Seems like a hash
and check_hash
method is required to create your own
A faster way then checking the provided hashers, is to just check out (and implement in your class) the interface.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community