• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Crypt/H27-Oct-2000-643510

t/H27-Oct-2000-320279

COPYING.LIBH A D08-Oct-200024.7 KiB

ChangeLogH A D27-Oct-20006.9 KiB217147

DES_PP.m4H A D27-Oct-200026.8 KiB683620

MANIFESTH A D27-Oct-2000199 1817

Makefile.PLH A D27-Oct-2000429 2315

READMEH A D27-Oct-20002.2 KiB5945

test-xsH A D08-Oct-200016.5 KiB347326

test.plH A D09-Oct-20004.8 KiB207151

README

1NAME
2    Crypt::DES_PP - Perl extension for DES encryption
3
4SYNOPSIS
5    use Crypt::DES_PP;
6
7        $des = Crypt::DES_PP->new ($key);
8        $cipher = $des->encrypt ($plain);
9        $plain = $des->decrypt ($cipher);
10        $blocksize = $des->blocksize;
11        $keysize = $des->keysize;
12
13DESCRIPTION
14    The Data Encryption Standard (DES), also known as Data
15    Encryption Algorithm (DEA) is a semi-strong encryption and
16    decryption algorithm.
17
18    The module is 100 % compatible to Crypt::DES but is implemented
19    entirely in Perl. That means that you do not need a C compiler
20    to build and install this extension.
21
22    The module implements the Crypt::CBC interface. You are
23    encouraged to read the documentation for Crypt::CBC if you
24    intend to use this module for Cipher Block Chaining.
25
26    The minimum (and maximum) key size is 8 bytes. Shorter keys will
27    cause an exception, longer keys will get silently truncated.
28    Data is encrypted and decrypted in blocks of 8 bytes.
29
30    The module implements the Ultra-Fast-Crypt (UFC) algorithm as
31    found for example in the GNU libc. On the Perl side a lot has
32    been done in order to make the module as fast as possible
33    (function inlining, use integer, ...).
34
35    Note: For performance issues the source code for the module is
36    first preprocessed by m4. That means that you need an m4 macro
37    processor in order to hack on the sources. This is of no concern
38    for you if you only want to use the module, the preprocessed
39    output is always included in the distribution.
40
41BUGS
42    Nothing known. The module has not been tested on 64 bit
43    architectures.
44
45AUTHOR
46    This implementation was written by Guido Flohr
47    (guido@imperia.net). It is available under the terms of the
48    Lesser GNU General Public License (LGPL) version 2 or - at your
49    choice - any later version, see the file ``COPYING.LIB''.
50
51    The original C implementation of the Ultra-Fast-Crypt algorithm
52    was written by Michael Glad (glad@daimi.aau.dk) and has been
53    donated to the Free Software Foundation, Inc. It is covered by
54    the GNU library license version 2, see the file ``COPYING.LIB''.
55
56SEE ALSO
57    Crypt::CBC(3), Crypt::DES(3), perl(1), m4(1).
58
59