Crypt-Camellia
view release on metacpan or search on metacpan
Japanese domestic ciphers, this is the first case to be approved as
IETF standard ciphers (Proposed Standard RFC) .
Crypt::Camellia has the following methods:
blocksize()
keysize()
encrypt()
decrypt()
Like many Crypt:: modules like Crypt::Blowfish and Crypt::DES, this
module works as a backend of Crypt::CBC.
FUNCTIONS
blocksize
Returns the size (in bytes) of the block cipher. Currently this is a
fixed value of 16.
new
my $cipher = Crypt::Camellia->new($key);
EXAMPLE
my $key = pack("H16", "0123456789ABCDEF"); # min. 8 bytes
my $cipher = Crypt::Camellia->new($key);
my $ciphertext = $cipher->encrypt("plaintex");# SEE NOTES
print unpack("H16", $ciphertext), "\n";
NOTES
For practical uses use this module via Crypt::CBC rather than directly.
SEE ALSO
Crypt::CBC, Crypt::Rijndael, Crypt::DES, Crypt::IDEA
AUTHOR
Dan Kogai, <dankogai@dan.co.jp>
Current maintainer is Hiroyuki OYAMA <oyama@module.jp>.
And
NTT <http://info.isl.ntt.co.jp/crypt/camellia/index.html>
lib/Crypt/Camellia.pm view on Meta::CPAN
=over 2
blocksize()
keysize()
encrypt()
decrypt()
=back
Like many Crypt:: modules like L<Crypt::Blowfish> and L<Crypt::DES>,
this module works as a backend of L<Crypt::CBC>.
=head1 FUNCTIONS
=over 2
=item blocksize
Returns the size (in bytes) of the block cipher. Currently this is a
fixed value of 16.
lib/Crypt/Camellia.pm view on Meta::CPAN
print unpack("H16", $ciphertext), "\n";
=head1 NOTES
For practical uses use this module via L<Crypt::CBC> rather than directly.
=head1 SEE ALSO
L<Crypt::CBC>,
L<Crypt::Rijndael>,
L<Crypt::DES>,
L<Crypt::IDEA>
=head1 AUTHOR
Dan Kogai, E<lt>dankogai@dan.co.jpE<gt>
Current maintainer is Hiroyuki OYAMA E<lt>oyama@module.jpE<gt>.
And
( run in 0.267 second using v1.01-cache-2.11-cpan-9a3d99fc6dc )