GJordao / simple-auth

An authentication service that aims to be simple and customisable
MIT License
3 stars 3 forks source link

feature request: ability to select the hashing algorithm #8

Open mcoquet opened 3 years ago

mcoquet commented 3 years ago

The project is using bcrypt, and it already has a healthy selection of options for algorithms.

It would be great to let the user select the one they would like to use through an ENV variable or similar.

A secure default should be used like AES256 for example. It might also be necessary to allow the user to inject algorithm specific configuration.