Add security/p5-Digest-SHA3, a NIST SHA3 implementation and perl interface.

This commit is contained in:
Adam Weinberger
2016-02-13 18:12:24 +00:00
parent 3d76751389
commit 7ef62312f8
5 changed files with 37 additions and 0 deletions
+1
View File
@@ -615,6 +615,7 @@
SUBDIR += p5-Digest-SHA
SUBDIR += p5-Digest-SHA-PurePerl
SUBDIR += p5-Digest-SHA1
SUBDIR += p5-Digest-SHA3
SUBDIR += p5-Digest-SV1
SUBDIR += p5-Digest-Tiger
SUBDIR += p5-Digest-Whirlpool
+19
View File
@@ -0,0 +1,19 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= Digest-SHA3
PORTVERSION= 0.24
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= adamw@FreeBSD.org
COMMENT= Perl extension for SHA-3
USES= perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Digest/SHA3/SHA3.so
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (Digest-SHA3-0.24.tar.gz) = 49a7aa146f720877d557cf4c74c03c76ebf01c6dce94d374edb2610176941f5f
SIZE (Digest-SHA3-0.24.tar.gz) = 28122
+10
View File
@@ -0,0 +1,10 @@
Digest::SHA3 is a complete implementation of the NIST SHA-3 cryptographic hash
function, as specified in Draft FIPS 202 (SHA-3 Standard: Permutation-Based
Hash and Extendable-Output Functions).
The module gives Perl programmers a convenient way to calculate SHA3-224,
SHA3-256, SHA3-384, and SHA3-512 message digests, as well as variable-length
hashes using SHAKE128 and SHAKE256. Digest::SHA3 can handle all types of input,
including partial-byte data.
WWW: https://metacpan.org/pod/Digest::SHA3
+5
View File
@@ -0,0 +1,5 @@
bin/sha3sum
%%SITE_ARCH%%/Digest/SHA3.pm
%%SITE_ARCH%%/auto/Digest/SHA3/SHA3.so
%%PERL5_MAN1%%/sha3sum.1.gz
%%PERL5_MAN3%%/Digest::SHA3.3.gz