https://github.com/fusionauth/fusionauth-example-password-encryptor
A example you can use to build a Password Encryptor Plugin for FusionAuth
https://github.com/fusionauth/fusionauth-example-password-encryptor
argon2id fusionauth password password-encryptor plugin
Last synced: 5 months ago
JSON representation
A example you can use to build a Password Encryptor Plugin for FusionAuth
- Host: GitHub
- URL: https://github.com/fusionauth/fusionauth-example-password-encryptor
- Owner: FusionAuth
- License: apache-2.0
- Created: 2020-04-22T19:33:50.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T05:55:27.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T16:56:42.692Z (about 1 year ago)
- Topics: argon2id, fusionauth, password, password-encryptor, plugin
- Language: Java
- Homepage: https://fusionauth.io
- Size: 74.2 KB
- Stars: 2
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## Example Password Hasher
If you need to write a custom hasher (also known as a password encryptor) to import users into FusionAuth, you may use this example build. This is intended to be used with the Writing a Plugin guide provided in the FusionAuth documentation.
Writing a Plugin guide is found here: https://fusionauth.io/docs/v1/tech/plugins/writing-a-plugin
### Example code
Any example password hashers provided in this repository is provided to assist in your deployment and management of FusionAuth.
Use of this software is not covered under the FusionAuth license agreement and is provided "as is" without warranty. https://fusionauth.io/license
More sample password hashers for various algorithms can be found in the [fusionauth-contrib](https://github.com/FusionAuth/fusionauth-contrib/tree/master/Password%20Hashing%20Plugins) repository.
If there's a password hasher you'd like to see that isn't available, please [open a GitHub issue](https://github.com/fusionauth/fusionauth-issues/issues).
### Building
### Building with Maven
```bash
$ mvn install
```
### Building with Savant
**Note:** This project uses the Savant build tool. To compile using Savant, follow these instructions:
```bash
$ mkdir ~/savant
$ cd ~/savant
$ wget http://savant.inversoft.org/org/savantbuild/savant-core/1.0.0/savant-1.0.0.tar.gz
$ tar xvfz savant-1.0.0.tar.gz
$ ln -s ./savant-1.0.0 current
$ export PATH=$PATH:~/savant/current/bin/
```