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

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 - Interface for OpenToken Ciphers

DESCRIPTION ^

This module defines an interface for ciphers.

METHODS ^

keysize()

Returns the key sized used for encryption, in bytes.

iv_len()

Returns the length of the Initialization Vector needed for encryption, in bytes.

cipher($key, $iv)

Returns a Crypt::CBC compatible cipher object which implements the 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::AES128 Crypt::OpenToken::Cipher::AES256 Crypt::OpenToken::Cipher::DES3 Crypt::OpenToken::Cipher::NULL

syntax highlighting: