]>
Dogcows Code - chaz/p5-File-KDBX/blob - lib/File/KDBX/Key/Password.pm
1 package File
::KDBX
::Key
::Password
;
2 # ABSTRACT: A password key
7 use Crypt
::Digest
qw(digest_data);
10 use File
::KDBX
::Util
qw(:class erase);
13 extends
'File::KDBX::Key';
15 our $VERSION = '0.905'; # VERSION
19 my $primitive = shift // throw
'Missing key primitive';
21 $self->_set_raw_key(digest_data
('SHA256', encode
('UTF-8', $primitive)));
36 File::KDBX::Key::Password - A password key
44 use File::KDBX::Key::Password;
46 my $key = File::KDBX::Key::Password->new($password);
50 A password key is as simple as it sounds. It's just a password or passphrase.
52 Inherets methods and attributes from L<File::KDBX::Key>.
56 Please report any bugs or feature requests on the bugtracker website
57 L<https://github.com/chazmcgarvey/File-KDBX/issues>
59 When submitting a bug or request, please include a test-file or a
60 patch to an existing test-file that illustrates the bug or desired
65 Charles McGarvey <ccm@cpan.org>
67 =head1 COPYRIGHT AND LICENSE
69 This software is copyright (c) 2022 by Charles McGarvey.
71 This is free software; you can redistribute it and/or modify it under
72 the same terms as the Perl 5 programming language system itself.
This page took 0.035815 seconds and 4 git commands to generate.