Crypt-AppleTwoFish
view release on metacpan or search on metacpan
NAME
Crypt::AppleTwoFish -- an Apple iTMS internal key descrambling algorithm
LANGUAGE
Pure Perl.
DESCRIPTION
This code appears to have only cursory resemblance to Bruce Schneier's
blowfish and twofish algorithms in that it too has a table-based decoder.
Derivation from FairKeys code by Jon Lech Johanson at nanocrew.net.
If you don't know what that is, don't bother looking here further. This is
a Pure Perl implementation. I doubt there is any need for xs coding for
what would mainly be processing 16 bytes at a time. This code is part of an
ongoing effort to clone portions of the Apple iTMS in Perl for portability.
See www.hymn-project.org for prior efforts by others.
To install the module...
lib/Crypt/AppleTwoFish.pm view on Meta::CPAN
129, 189, 99, 114,
],
);
=head1 NAME
Crypt::AppleTwoFish -- two Apple iTMS/iTunes key descrambling algorithms
=head1 DESCRIPTION
The first algorithm appears to have only cursory resemblance to Bruce Schneier's
blowfish and twofish algorithms in that it too has a table-based decoder.
The second algorithm is more standard encryption using S-box type permutations
and lookup tables, and might have started out something like Twofish or Blowfish.
=head1 SYNOPSIS
for iTMS usages:
use Crypt::AppleTwoFish;
( run in 0.247 second using v1.01-cache-2.11-cpan-4d50c553e7e )