| 1 | package Punk::Auth::Password; | ||
| 2 | |||
| 3 | 6 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 6 | ▶ | use Punk (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 6 | our $VERSION = '0.70'; | |
| 9 | |||
| 10 | # The runtime cost. Deliberately a package variable so a test suite can | ||
| 11 | # `local $Punk::Auth::Password::ITERATIONS = 1_000;` and stay fast; the | ||
| 12 | # `auth` keyword's iterations option and an explicit argument both win | ||
| 13 | # over it. | ||
| 14 | 6 | our $ITERATIONS = 60_000; | |
| 15 | |||
| 16 | 6 | 1; | |
| 17 | |||
| 18 | __END__ | ||