Skip to content

Commit

Permalink
Add config for D2::P::CryptPassphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
cromedome committed Feb 5, 2025
1 parent f7f1dea commit 3784cac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/Dancer2/Manual/Tutorial.pod
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,15 @@ and add the module to your F<cpanfile>:

requires "Dancer2::Plugin::CryptPassphrase";

This extension requires configuration as to which password encoder to
use. Add this to the C<plugins> section of the F<environments/development.yml>
file:

CryptPassphrase:
encoder:
module: Argon2
parallelism: 2

From your shell, running the following will produce an encrypted password
string:

Expand Down

0 comments on commit 3784cac

Please sign in to comment.