mirror of
https://codeberg.org/scip/Crypt--PWSafe3.git
synced 2025-12-17 04:31:00 +01:00
enhanced unittests, added pod for addrecord and newrecord, using ->new() everywhere, new parameter "create"
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
package Crypt::PWSafe3::SHA256;
|
||||
|
||||
$Crypt::PWSafe3::SHA256::VERSION = '1.02';
|
||||
$Crypt::PWSafe3::SHA256::VERSION = '1.03';
|
||||
|
||||
use Digest::SHA;
|
||||
|
||||
@@ -17,7 +17,7 @@ sub new {
|
||||
my $class = ref($this) || $this;
|
||||
my $self = { };
|
||||
bless($self, $class);
|
||||
my $sha = new Digest::SHA('SHA-256');
|
||||
my $sha = Digest::SHA->new('SHA-256');
|
||||
return $sha;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user