Crypt::AllOrNothing - All-Or-Nothing Encryption
Version 0.10
use Crypt::AllOrNothing; my $AllOrNothing = Crypt::AllOrNothing->new(K_0=>$K_0); my $K_0 = $AllOrNothing->get_K_0(); my $K_0 = $AllOrNothing->set_K_0($K_0); my $size = $AllOrNothing->get_size(); my @AllOrNothing_text = $AllOrNothing->encrypt(text=>$plaintext); my $plaintext = $AllOrNothing->decrypt(text=>@AllOrNothing_text);
$SIZE = 128 bits;
Create AllOrNothing object. Good idea to provide K_0, which must be ascii encoded(characters) and of length given in size. If K_0 is not given, you must retrieve it later with $AllOrNothing->K_0() else you will not be able to decrypt the message.
get/set K_0. K_0 must be ascii encoded(characters) and length given in size.
get size.
encrypt plaintext with All Or Nothing transform to array of messages. Optionally pass padding which will be used internally
decrypt cryptotext array with All Or Nothing transform to plaintext
Timothy Zander, <timothy.zander at alum.rpi.edu>
<timothy.zander at alum.rpi.edu>
The All Or Nothing Encryption and Package Transform algorithm was developed by Ronald Rivest
Please report any bugs or feature requests to bug-crypt-aon at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Crypt-AllOrNothing. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-crypt-aon at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Crypt::AllOrNothing
You can also look for information at:
Original Paper by Ronald Rivest
http://people.csail.mit.edu/rivest/fusion.pdf
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Crypt-AllOrNothing
CPAN Ratings
http://cpanratings.perl.org/d/Crypt-AllOrNothing
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Crypt-AllOrNothing
Search CPAN
http://search.cpan.org/dist/Crypt-AllOrNothing
Thanks to Prof. Bulent Yener at RPI for his assistance.
Copyright 2007 Timothy Zander, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Crypt::AllOrNothing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::AllOrNothing
CPAN shell
perl -MCPAN -e shell install Crypt::AllOrNothing
For more information on module installation, please visit the detailed CPAN module installation guide.