|
Acme::DRM - Library providing cryptographic capabilities especially suited for Digital Rights Management. Protects against Pirates. May increase global warming. Note: Not guaranteed to protect against Pirates or increase global warming. |
Acme::DRM - Library providing cryptographic capabilities especially suited for Digital Rights Management. Protects against Pirates. May increase global warming. Note: Not guaranteed to protect against Pirates or increase global warming.
Version 0.03
use Acme::DRM qw(secureXOR doubleROT128); my $intellectualProperty = 'One-hit Wonder Music';
# Encrypt your IP to plug the digital hole my $encryptedContent = secureXOR($intellectualProperty);
# Invoke the DMCA by encrypting your data, without invoking # additional overhead for decryption at runtime my $protectedContent = doubleROT128($intellectualProperty);
XOR is an extremely convenient method for encrypting a digital media stream. Given any two of the a) original data, b) encryption key, and c) encrypted data, you get the third item. Unfortunately, hackers have compromised the effectiveness of this computationally convenient method. The weakness is the reuse of a single key. The answer is to use a variable key, however, key distribution becomes a difficult proposition. If the key is distributed in the clear, pirates can simply decrypt the digital media stream, and steal your Intellectual Property. Our solution is to use the media itself as the key. This function conveniently takes only the media as a single argument, and automatically XORs the datastream with a copy of itself, rendering the stream almost completely unrecoverable without the key: the media itself. This is virtually hacker-proof, except for one exception: the encrypted datastream is exactly the same length as the original data, but this is almost never probably a weakness. This algorithm does guarantee that your original data will not be recoverable from the encrypted stream without the proper key. Additionally, use of an incorrect key will not provide hackers with any sort of clue that they have guessed an incorrect key.
This function exists to provide a method by which you can protect your Intellectual Property under the DMCA, without imposing the difficulty of implementing a separate, potentially insecure decryption algorithm in your secure media playbth t">A '0tiona
TSmply dpas iour dagital media so ptis function and at Will nut utaan excrypted stream ,conveniently tpas d thwcen ntelrally cthroug a ctreog aOT1-28
Brett T. Warde a
Plase greort"any sugs"or ifeatre mreqesss to
pasItaan ewhellyifiedll nutsbrre me'n ely XORs the dawhellyifiedntin Igr compn
l meda iginaIs,t bycectg r,
AUTHOR
<bwarde -panr@wgz.org>/P>
BUGS
aDgnc mng atis algnessbrally fa cxatAME="#copyrhttp://
AUTHents">ACKNOWLEDGEMENTS