X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FFile%2FKDBX%2FKey%2FPassword.pm;h=032de09d64337c5dc8096cdf032eeb361092c9e1;hb=37b09e0f2832514b33de4499a83f22d5ffe7c0a3;hp=84f8e3873ba658c55597d988def5a565cd3e8c34;hpb=f63182fc62b25269b1c38588dca2b3535ed1a1a2;p=chaz%2Fp5-File-KDBX diff --git a/lib/File/KDBX/Key/Password.pm b/lib/File/KDBX/Key/Password.pm index 84f8e38..032de09 100644 --- a/lib/File/KDBX/Key/Password.pm +++ b/lib/File/KDBX/Key/Password.pm @@ -7,10 +7,10 @@ use strict; use Crypt::Digest qw(digest_data); use Encode qw(encode); use File::KDBX::Error; -use File::KDBX::Util qw(erase); +use File::KDBX::Util qw(:class erase); use namespace::clean; -use parent 'File::KDBX::Key'; +extends 'File::KDBX::Key'; our $VERSION = '999.999'; # VERSION @@ -24,3 +24,18 @@ sub init { } 1; +__END__ + +=head1 SYNOPSIS + + use File::KDBX::Key::Password; + + my $key = File::KDBX::Key::Password->new($password); + +=head1 DESCRIPTION + +A password key is as simple as it sounds. It's just a password or passphrase. + +Inherets methods and attributes from L. + +=cut