Package Data | |
---|---|
Maintainer Username: | scrothers |
Maintainer Contact: | steven.crothers@gmail.com (Steven Crothers) |
Package Create Date: | 2015-09-09 |
Package Last Update: | 2016-03-04 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-26 15:23:22 |
Package Statistics | |
---|---|
Total Downloads: | 5 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 22 |
Total Watchers: | 5 |
Total Forks: | 5 |
Total Open Issues: | 2 |
This library is meant to be a fairly expansive encryption replacement to Laravel's built in methods. The goals is that by default it will replace the encryption and the hashing mechanisms of Laravel with compatible methods powered by libsodium.
First thing you need to do is install the components you want to replace in Laravel in your app.cfg
file from your config directory.
In app.cfg
replace Illuminate\Encryption\EncryptionServiceProvider::class
with scrothers\laravelsodium\Providers\EncryptionProvider::class
.
In app.cfg
replace Illuminate\Hashing\HashServiceProvider::class
with scrothers\laravelsodium\Providers\HashProvider::class
.
The original Sodium project can be located here, the about Sodium is obtained from the readme in the source repository.
Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more.
It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further.
Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.
Sodium supports a variety of compilers and operating systems, including Windows (with MingW or Visual Studio, x86 and x64), iOS and Android.