Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37043102
en ru br
ALT Linux repos
S:0.078-alt1

Group :: Development/Perl
RPM: perl-CryptX

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define dist CryptX

Name: perl-%dist
Version: 0.078
Release: alt1

Summary: Crypto toolkit with multiple ciphers, hash functions and other
License: %perl_license
Group: Development/Perl

Url: %CPAN %dist
Source0: http://www.cpan.org/authors/id/M/MI/MIK/%{dist}-%{version}.tar.gz
# e2k
Patch3: CryptX-0.057-alt-uint128.patch

BuildRequires: rpm-build-licenses
BuildRequires: perl-HTML-Parser perl-JSON-XS perl-Module-Build

%description
CryptX - Crypto toolkit (self-contained no external libraries needed)
Cryptography in CryptX is based on https://github.com/libtom/libtomcrypt

   Currently available modules:

   *   Ciphers - see Crypt::Cipher and related modules

       Crypt::Cipher::AES, Crypt::Cipher::Anubis, Crypt::Cipher::Blowfish,
       Crypt::Cipher::Camellia, Crypt::Cipher::CAST5, Crypt::Cipher::DES,
       Crypt::Cipher::DES_EDE, Crypt::Cipher::KASUMI,
       Crypt::Cipher::Khazad, Crypt::Cipher::MULTI2,
       Crypt::Cipher::Noekeon, Crypt::Cipher::RC2, Crypt::Cipher::RC5,
       Crypt::Cipher::RC6, Crypt::Cipher::SAFERP,
       Crypt::Cipher::SAFER_K128, Crypt::Cipher::SAFER_K64,
       Crypt::Cipher::SAFER_SK128, Crypt::Cipher::SAFER_SK64,
       Crypt::Cipher::SEED, Crypt::Cipher::Skipjack,
       Crypt::Cipher::Twofish, Crypt::Cipher::XTEA

   *   Block cipher modes

       Crypt::Mode::CBC, Crypt::Mode::CFB, Crypt::Mode::CTR,
       Crypt::Mode::ECB, Crypt::Mode::OFB

   *   Authenticated encryption modes

       Crypt::AuthEnc::CCM, Crypt::AuthEnc::EAX, Crypt::AuthEnc::GCM,
       Crypt::AuthEnc::OCB

   *   Hash Functions - see Crypt::Digest and related modules

       Crypt::Digest::CHAES, Crypt::Digest::MD2, Crypt::Digest::MD4,
       Crypt::Digest::MD5, Crypt::Digest::RIPEMD128,
       Crypt::Digest::RIPEMD160, Crypt::Digest::RIPEMD256,
       Crypt::Digest::RIPEMD320, Crypt::Digest::SHA1,
       Crypt::Digest::SHA224, Crypt::Digest::SHA256, Crypt::Digest::SHA384,
       Crypt::Digest::SHA512, Crypt::Digest::SHA512_224,
       Crypt::Digest::SHA512_256, Crypt::Digest::Tiger192,
       Crypt::Digest::Whirlpool

   *   Message Authentication Codes

       Crypt::Mac::F9, Crypt::Mac::HMAC, Crypt::Mac::OMAC,
       Crypt::Mac::Pelican, Crypt::Mac::PMAC, Crypt::Mac::XCBC

   *   Public key cryptography

       Crypt::PK::RSA, Crypt::PK::DSA, Crypt::PK::ECC, Crypt::PK::DH

   *   Cryptographically secure random number generators

       Crypt::PRNG, Crypt::PRNG::Fortuna, Crypt::PRNG::Yarrow,
       Crypt::PRNG::RC4, Crypt::PRNG::Sober128

   *   Key derivation functions - PBKDF1, PBKFD2 and HKDF

       Crypt::KeyDerivation

%prep
%setup -q -n %{dist}-%{version}
%ifarch e2k
%patch3 -p1
%endif

#[ %version = 0.061 ] && rm -f t/mbi_ltm_bugs.t t/mbi_ltm_bigintpm.t


%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc Changes README.md
%perl_vendor_archlib/Crypt
%perl_vendor_archlib/CryptX.pm
%perl_vendor_autolib/CryptX
%perl_vendor_archlib/Math

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin