]>
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 = '999.999'; # VERSION
19 my $primitive = shift // throw
'Missing key primitive';
21 $self->_set_raw_key(digest_data
('SHA256', encode
('UTF-8', $primitive)));
31 use File::KDBX::Key::Password;
33 my $key = File::KDBX::Key::Password->new($password);
37 A password key is as simple as it sounds. It's just a password or passphrase.
39 Inherets methods and attributes from L<File::KDBX::Key>.
This page took 0.037109 seconds and 4 git commands to generate.