| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# -*- cperl; cperl-indent-level: 4 -*- |
|
2
|
|
|
|
|
|
|
# Copyright (C) 2025, Roland van Ipenburg |
|
3
|
|
|
|
|
|
|
package Crypt::Diceware::Wordlist::NL::ModHex v0.0.1; |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
#use Log::Log4perl qw(:resurrect :easy get_logger); |
|
6
|
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
250076
|
use strict; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
88
|
|
|
8
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
|
2
|
|
|
|
|
16
|
|
|
|
2
|
|
|
|
|
125
|
|
|
9
|
2
|
|
|
2
|
|
15
|
use utf8; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
13
|
|
|
10
|
2
|
|
|
2
|
|
113
|
use 5.016000; |
|
|
2
|
|
|
|
|
9
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
## no critic (ProhibitCommentedOutCode) |
|
13
|
|
|
|
|
|
|
###l4p Log::Log4perl->easy_init($ERROR); |
|
14
|
|
|
|
|
|
|
###l4p my $log = get_logger(); |
|
15
|
|
|
|
|
|
|
## use critic |
|
16
|
|
|
|
|
|
|
|
|
17
|
2
|
|
|
2
|
|
1895
|
BEGIN { our $VERSION = q{v0.0.1}; } |
|
18
|
|
|
|
|
|
|
## no critic (ProhibitPackageVars Capitalization) |
|
19
|
|
|
|
|
|
|
our @Words = (); |
|
20
|
|
|
|
|
|
|
## use critic |
|
21
|
|
|
|
|
|
|
while ( my $wordlist_line = ) { |
|
22
|
|
|
|
|
|
|
if ( |
|
23
|
|
|
|
|
|
|
$wordlist_line =~ s{[1-6]{5}\s+(?[[:lower:]]+)}{$+{'word'}}gimsx ) |
|
24
|
|
|
|
|
|
|
{ |
|
25
|
|
|
|
|
|
|
push @Words, $wordlist_line; |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
} |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
## no critic (ProhibitLongLines) |
|
30
|
|
|
|
|
|
|
1; |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=begin stopwords |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Ipenburg |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=end stopwords |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 NAME |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Crypt::Diceware::Wordlist::NL::ModHex - Dutch ModHex wordlist for Diceware |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 VERSION |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This document describes Crypt::Diceware::Wordlist::NL::ModHex C. |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
use Crypt::Diceware::Wordlist::NL::ModHex; |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This module provides a Dutch wordlist which can be used by L. |
|
53
|
|
|
|
|
|
|
It also includes a script to generate the wordlist for generic use. |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
None. Usage is done through L. |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 CONFIGURATION AND ENVIRONMENT |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
None. |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 DEPENDENCIES |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=over 4 |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * Perl 5.16 |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=back |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 INCOMPATIBILITIES |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Due to the nature of limiting the words in the list to only those words |
|
74
|
|
|
|
|
|
|
consisting of the 16 characters in the ModHex set while still requiring enough |
|
75
|
|
|
|
|
|
|
words the resulting wordlist has a high average length which generates longer |
|
76
|
|
|
|
|
|
|
passphrases than usual. Only Dutch, Danish, Hungarian and Turkish even manage to |
|
77
|
|
|
|
|
|
|
have enough qualifying words to fill a Diceware wordlist. |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 DIAGNOSTICS |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
This module uses L for logging when resurrected. |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Please report any bugs or feature requests at |
|
86
|
|
|
|
|
|
|
L
|
|
87
|
|
|
|
|
|
|
https://bitbucket.org/rolandvanipenburg/crypt-diceware-wordlist-nl-modhex/issues>. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Roland van Ipenburg, Eroland@rolandvanipenburg.comE |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Copyright 2025 by Roland van Ipenburg |
|
96
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify |
|
97
|
|
|
|
|
|
|
it under the GNU General Public License v3.0. |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Wordlist content based on FrequencyWords content language resource |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
https://raw.githubusercontent.com/hermitdave/FrequencyWords/refs/heads/master/content/2016/nl/nl_full.txt |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Copyright (c) 2016 Hermit Dave |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
CC-by-sa-4.0 https://creativecommons.org/licenses/by-sa/4.0/deed.en |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head1 DISCLAIMER OF WARRANTY |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
|
110
|
|
|
|
|
|
|
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
|
111
|
|
|
|
|
|
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
|
112
|
|
|
|
|
|
|
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER |
|
113
|
|
|
|
|
|
|
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
114
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE |
|
115
|
|
|
|
|
|
|
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH |
|
116
|
|
|
|
|
|
|
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL |
|
117
|
|
|
|
|
|
|
NECESSARY SERVICING, REPAIR, OR CORRECTION. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
|
120
|
|
|
|
|
|
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
121
|
|
|
|
|
|
|
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE |
|
122
|
|
|
|
|
|
|
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, |
|
123
|
|
|
|
|
|
|
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE |
|
124
|
|
|
|
|
|
|
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
|
125
|
|
|
|
|
|
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
|
126
|
|
|
|
|
|
|
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
|
127
|
|
|
|
|
|
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF |
|
128
|
|
|
|
|
|
|
SUCH DAMAGES. |
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
__DATA__ |