| 1 |
Crypt::DES - an XS-based DES implimentation for Perl. |
| 2 |
|
| 3 |
The 2.XX tree represents a major improvement over the |
| 4 |
1.XX tree. This package builds on big-endian |
| 5 |
machines and many more x86 platforms than before. |
| 6 |
(with a few rare exceptions, like gcc on DUX against |
| 7 |
5.004). |
| 8 |
|
| 9 |
mod_ssl conflicts have also been resolved. Thank you |
| 10 |
to Jan 'Kozo' Vajda for pointing out the des_SPtrans |
| 11 |
overlap between these two packages. |
| 12 |
|
| 13 |
In release 2.04, des.h was renamed to _des.h in an |
| 14 |
attempt to solve the build-on-Solaris problem. Reports |
| 15 |
would be appreciated. |
| 16 |
|
| 17 |
In release 2.05, all references to des_ were changed to |
| 18 |
_des_ since the 2.04 release didn't seem to fix the problem |
| 19 |
on Solaris. |
| 20 |
|
| 21 |
In release 2.06, SvUPGRADE was changed to a statement. |
| 22 |
|
| 23 |
In release 2.07, a minor bug in META.yml was fixed. |
| 24 |
|
| 25 |
Prerequisites |
| 26 |
------------- |
| 27 |
|
| 28 |
For the full test suite to run, Crypt::CBC, version 1.22 or higher |
| 29 |
is required (recommended is 1.25 or higher), however this module |
| 30 |
is not mandatory for standalone DES use, and all other tests |
| 31 |
will run to completion. |
| 32 |
|
| 33 |
Installing Crypt::DES |
| 34 |
--------------------- |
| 35 |
|
| 36 |
nothing unusual: |
| 37 |
|
| 38 |
1. perl Makefile.PL |
| 39 |
2. make |
| 40 |
3. make test |
| 41 |
4. make install |
| 42 |
|
| 43 |
Notes |
| 44 |
----- |
| 45 |
|
| 46 |
The following is a list of known good platforms: |
| 47 |
FreeBSD 3.5-RELEASE / x86 / 5.005 |
| 48 |
OpenBSD 2.7 / x86 / 5.6 |
| 49 |
Linux / x86 / 5.005 & 5.6 |
| 50 |
Linux / PPC / 5.005 & 5.6 |
| 51 |
Solaris7 / SPARC / 5.005 |
| 52 |
Solaris / x86 / 5.005 |
| 53 |
DUX / Alpha / 5.005 (using DEC cc) |
| 54 |
Win32 / x86 / 5.005 (using VC++5) |
| 55 |
OS/2 / x86 / 5.6 |
| 56 |
|
| 57 |
Reports of builds against 5.004 have been equally |
| 58 |
positive. Building on Win32 with VC++6 may prove |
| 59 |
problematic. Complaints about build problems on |
| 60 |
Win32 will be sent to /dev/null. |
| 61 |
|
| 62 |
Please report any other successful OS/Platform |
| 63 |
combinations to [email protected]. Thank you. |
| 64 |
|
| 65 |
What you can expect in the way of speed: |
| 66 |
|
| 67 |
Linux/x86 dual PII400 |
| 68 |
non-cached cipher speed test. 5000 encrypt iterations |
| 69 |
0 wallclock secs ( 0.52 usr + 0.01 sys = 0.53 CPU) |
| 70 |
non-cached cipher speed test. 5000 decrypt iterations |
| 71 |
1 wallclock secs ( 0.52 usr + 0.01 sys = 0.53 CPU) |
| 72 |
cached cipher speed test. 10000 encrypt iterations |
| 73 |
0 wallclock secs ( 0.20 usr + 0.00 sys = 0.20 CPU) |
| 74 |
cached cipher speed test. 10000 decrypt iterations |
| 75 |
0 wallclock secs ( 0.22 usr + 0.00 sys = 0.22 CPU) |
| 76 |
|
| 77 |
Windows NT4(SP6)/x86 dual PPro 200 |
| 78 |
non-cached cipher speed test. 5000 encrypt iterations |
| 79 |
1 wallclock secs ( 1.25 usr + 0.00 sys = 1.25 CPU) |
| 80 |
non-cached cipher speed test. 5000 decrypt iterations |
| 81 |
2 wallclock secs ( 1.22 usr + 0.00 sys = 1.22 CPU) |
| 82 |
cached cipher speed test. 10000 encrypt iterations |
| 83 |
0 wallclock secs ( 0.58 usr + 0.00 sys = 0.58 CPU) |
| 84 |
cached cipher speed test. 10000 decrypt iterations |
| 85 |
1 wallclock secs ( 0.59 usr + 0.00 sys = 0.59 CPU) |
| 86 |
|
| 87 |
Solaris7/SPARC UltraSPARCIIi 277Mhz |
| 88 |
non-cached cipher speed test. 5000 encrypt iterations |
| 89 |
1 wallclock secs ( 1.08 usr + 0.20 sys = 1.28 CPU) |
| 90 |
non-cached cipher speed test. 5000 decrypt iterations |
| 91 |
2 wallclock secs ( 1.14 usr + 0.12 sys = 1.26 CPU) |
| 92 |
cached cipher speed test. 10000 encrypt iterations |
| 93 |
0 wallclock secs ( 0.52 usr + 0.00 sys = 0.52 CPU) |
| 94 |
cached cipher speed test. 10000 decrypt iterations |
| 95 |
1 wallclock secs ( 0.50 usr + 0.00 sys = 0.50 CPU) |