Crypt::AllOrNothing - All-Or-Nothing Encryption |
size()
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.
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>
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.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc Crypt::AllOrNothing
You can also look for information at:
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.
Crypt::AllOrNothing - All-Or-Nothing Encryption |