diff options
-rw-r--r-- | lib/App/Raps2/Password.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Raps2/Password.pm b/lib/App/Raps2/Password.pm index 47de634..f98192c 100644 --- a/lib/App/Raps2/Password.pm +++ b/lib/App/Raps2/Password.pm @@ -66,7 +66,7 @@ sub encrypt { my $eksblowfish = Crypt::Eksblowfish->new( $opt{cost}, $opt{salt}, $self->{passphrase}, ); - my $cbc = Crypt::CBC->new( -cipher => $eksblowfish ); + my $cbc = Crypt::CBC->new( -cipher => $eksblowfish, -keysize => 56 ); return $cbc->encrypt_hex( $opt{data} ); } @@ -79,7 +79,7 @@ sub decrypt { my $eksblowfish = Crypt::Eksblowfish->new( $opt{cost}, $opt{salt}, $self->{passphrase}, ); - my $cbc = Crypt::CBC->new( -cipher => $eksblowfish ); + my $cbc = Crypt::CBC->new( -cipher => $eksblowfish, -keysize => 56 ); return $cbc->decrypt_hex( $opt{data} ); } |