NAME
Crypt::OpenToken::Cipher::AES128 - AES128 encryption support for OpenToken
DESCRIPTION
This library can be used by Crypt::OpenToken
to encrypt payloads using AES-128 encryption.
METHODS
- keysize()
-
Returns the key size used for AES-128 encryption; 16 bytes.
- iv_len()
-
Returns the length of the Initialization Vector needed for AES-128 encryption; 16 bytes.
- cipher($key, $iv)
-
Returns a
Crypt::CBC
compatible cipher the implements the AES-128 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.