2017 © Pedro Peláez
 

library laravel-argon2

Argon2 implementation

image

koenhoeijmakers/laravel-argon2

Argon2 implementation

  • Friday, November 10, 2017
  • by koenhoeijmakers
  • Repository
  • 2 Watchers
  • 10 Stars
  • 469 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 46800 % Grown

The README.md

Pull request #21885 on the framework's repository has made this package obsolete as Argon2 hashing will be added in Laravel's [5.6] release., (*1)

Laravel Argon2

Packagist Scrutinizer Code Quality license Packagist, (*2)

A drop-in Argon2 implementation for Laravel. (which will be usable from PHP 7.2 if compiled with the --with-password-argon2 option), (*3)

As the RFC states, the Argon2d variant will not be implemented into php, and therefore we can call our package Argon2 as an alias to Argon2i., (*4)

Disclaimer

Please be careful while changing the HashServiceProviders, if your application is already up and running and in some way relies on bcrypt, then it is probably a bad idea, as this replaces the standard bcrypt functionality from your Laravel installation. (given that it is replaced by Argon2), (*5)

Installation

Require the package., (*6)

composer require koenhoeijmakers/laravel-argon2

Search inside the config/app.php for the Illuminate\Hashing\HashServiceProvider::class and replace it with the KoenHoeijmakers\Argon2Laravel\HashServiceProvider::class., (*7)

'providers' => [
    //...

    //Illuminate\Hashing\HashServiceProvider::class,
    KoenHoeijmakers\LaravelArgon2\HashServiceProvider::class,

    //...
],

Usage

If you have replaced your HashServiceProvider with the provider delivered by this package, you may now use the laravel hash functionality the same way as you used to., (*8)

FAQ

Q: Can i use this package when there are bcrypt hashes in my database?

A: That is not a problem as these can still be verified., (*9)

Credits

The Versions

10/11 2017

dev-master

9999999-dev

Argon2 implementation

  Sources   Download

MIT

The Requires

 

by Koen Hoeijmakers

31/07 2017

1.1.0

1.1.0.0

Argon2 implementation

  Sources   Download

MIT

The Requires

 

by Koen Hoeijmakers

22/07 2017

1.0.0

1.0.0.0

Argon2 implementation

  Sources   Download

MIT

The Requires

 

by Koen Hoeijmakers

We request your permission to obtain statistical data of your navigation on this website, in compliance with Royal Decree-Law 13/2012 (Spain). If you continue browsing, we consider that you accept the use of cookies. OK | More information