Graham TerMarsch > Crypt-OpenToken-0.06 > Crypt::OpenToken::Cipher::null

Download:
Crypt-OpenToken-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Crypt::OpenToken::Cipher::null - Null encryption support for OpenToken

DESCRIPTION ^

This library can be used by Crypt::OpenToken to encrypt payloads using NULL encryption.

Yes, that's right, "null encryption" (e.g. no encryption of the data whatsoever). Horrible for real-world use, great for interoperability testing.

METHODS ^

keysize()

Returns the key size used for NULL encryption; 0 bytes.

iv_len()

Returns the length of the Initialization Vector needed for NULL encryption; 0 bytes.

cipher($key, $iv)

Returns a Crypt::CBC compatible cipher the implements the NULL encryption.

AUTHOR ^

Graham TerMarsch (cpan@howlingfrog.com)

COPYRIGHT & LICENSE ^

Crypt::OpenToken is Copyright (C) 2010, Socialtext, and is released under the Artistic-2.0 license.

SEE ALSO ^

Crypt::OpenToken::Cipher

syntax highlighting: