summaryrefslogtreecommitdiff
path: root/lib/Crypt/Digest/SHA3_384.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Crypt/Digest/SHA3_384.pm')
-rw-r--r--lib/Crypt/Digest/SHA3_384.pm26
1 files changed, 12 insertions, 14 deletions
diff --git a/lib/Crypt/Digest/SHA3_384.pm b/lib/Crypt/Digest/SHA3_384.pm
index cfcb8c8e..3d15489f 100644
--- a/lib/Crypt/Digest/SHA3_384.pm
+++ b/lib/Crypt/Digest/SHA3_384.pm
@@ -4,7 +4,7 @@ package Crypt::Digest::SHA3_384;
use strict;
use warnings;
-our $VERSION = '0.056';
+our $VERSION = '0.059';
use base qw(Crypt::Digest Exporter);
our %EXPORT_TAGS = ( all => [qw( sha3_384 sha3_384_hex sha3_384_b64 sha3_384_b64u sha3_384_file sha3_384_file_hex sha3_384_file_b64 sha3_384_file_b64u )] );
@@ -13,19 +13,17 @@ our @EXPORT = qw();
use Carp;
$Carp::Internal{(__PACKAGE__)}++;
-use CryptX;
-
-sub hashsize { Crypt::Digest::hashsize(__PACKAGE__) }
-
-sub sha3_384 { Crypt::Digest::digest_data(__PACKAGE__, @_) }
-sub sha3_384_hex { Crypt::Digest::digest_data_hex(__PACKAGE__, @_) }
-sub sha3_384_b64 { Crypt::Digest::digest_data_b64(__PACKAGE__, @_) }
-sub sha3_384_b64u { Crypt::Digest::digest_data_b64u(__PACKAGE__, @_) }
-
-sub sha3_384_file { Crypt::Digest::digest_file(__PACKAGE__, @_) }
-sub sha3_384_file_hex { Crypt::Digest::digest_file_hex(__PACKAGE__, @_) }
-sub sha3_384_file_b64 { Crypt::Digest::digest_file_b64(__PACKAGE__, @_) }
-sub sha3_384_file_b64u { Crypt::Digest::digest_file_b64u(__PACKAGE__, @_) }
+use Crypt::Digest;
+
+sub hashsize { Crypt::Digest::hashsize('SHA3_384') }
+sub sha3_384 { Crypt::Digest::digest_data('SHA3_384', @_) }
+sub sha3_384_hex { Crypt::Digest::digest_data_hex('SHA3_384', @_) }
+sub sha3_384_b64 { Crypt::Digest::digest_data_b64('SHA3_384', @_) }
+sub sha3_384_b64u { Crypt::Digest::digest_data_b64u('SHA3_384', @_) }
+sub sha3_384_file { Crypt::Digest::digest_file('SHA3_384', @_) }
+sub sha3_384_file_hex { Crypt::Digest::digest_file_hex('SHA3_384', @_) }
+sub sha3_384_file_b64 { Crypt::Digest::digest_file_b64('SHA3_384', @_) }
+sub sha3_384_file_b64u { Crypt::Digest::digest_file_b64u('SHA3_384', @_) }
1;