mirror of
https://codeberg.org/scip/Crypt--PWSafe3.git
synced 2025-12-16 12:11:02 +01:00
3bbb724b08d7d796b4e9b4cd3edc24255fc29f70
Attempt to improve performance. Previous implementation happened to be very slow (on my laptop it took 5 minutes to read small pwsafe file and save it back). I profiled the code and it turned out, this cost was totally dominated by the Crypt::PWSafe3::random function (which on every call accesses system random seed). I replaced it with Bytes::Random::Secure which seeds using OS crypto but afterwards uses embedded generator. Performance improvement is drastical, the same read&save takes about half a second on the same laptop.
NAME
Crypt::PWSafe3 - Read and write Passwordsafe v3 files
SYNOPSIS
use Crypt::PWSafe3;
my $vault = new Crypt::PWSafe3(file => 'filename.psafe3',
password => 'somesecret');
DESCRIPTION
Crypt::PWSafe3 provides read and write access to password
database files created by Password Safe V3 (and up) available
at http://passwordsafe.sf.net.
INSTALLATION
to install, type:
perl Makefile.PL
make
make test
make install
to read the complete documentation, type:
perldoc Crypt::PWSafe3
perldoc Crypt::PWSafe3::Record
COPYRIGHT
Crypt::PWSafe3
Copyright (c) 2011-2012 by T. Linden <tlinden@cpan.org>
This library is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
HOMEPAGE
The homepage of Config::General is located at:
http://www.daemon.de/crypt-pwsafe3/.
AUTHOR
T. Linden <tlinden |AT| cpan.org>
VERSION
1.05
Description
Languages
Perl
98.2%
Shell
1.8%