Marcin Kasperski 3bbb724b08 (needs careful review)
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.
2012-11-18 00:46:34 +01:00
2012-11-18 00:46:34 +01:00
2012-11-15 10:49:26 +01:00
2012-11-18 00:46:34 +01:00
2012-07-20 12:58:07 +02:00
nix
2012-11-15 10:53:00 +01:00

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
No description provided
Readme 141 KiB
Languages
Perl 98.2%
Shell 1.8%