mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-25 19:55:39 +01:00
docs: Create documentation for argon2 library
parent
08918371b8
commit
059436af47
23
Use-Argon2-Password-HashMethod-with-AuthMe.md
Normal file
23
Use-Argon2-Password-HashMethod-with-AuthMe.md
Normal file
@ -0,0 +1,23 @@
|
||||
## Compile and install argon2 library on a linux os based :
|
||||
|
||||
```bash
|
||||
git clone https://www.github.com/P-H-C/phc-winner-argon2.git argon2-src;
|
||||
cd argon2-src && sudo make && sudo make install;
|
||||
```
|
||||
|
||||
## Compile and install argon2 library on Windows :
|
||||
|
||||
**IN THEORY : Install [MINGW for Windows](https://sourceforge.net/projects/mingw/files/Installer/) and [Git Bash for Windows](https://git-for-windows.github.io/), open a git bash _as Administrator_ somewhere, and do as follow:**
|
||||
|
||||
```
|
||||
git clone https://www.github.com/P-H-C/phc-winner-argon2.git argon2-src ;
|
||||
cd argon2-src && make && make install;
|
||||
```
|
||||
|
||||
We wrote IN THEORY cause the Makefile tell to do with MINGW but we cannot test the compilation correctly
|
||||
|
||||
## Modify your authme config.yml :
|
||||
```yaml
|
||||
password_encryption:
|
||||
encryption_algorithm: ARGON2
|
||||
```
|
Loading…
Reference in New Issue
Block a user