NAME
Crypt::OpenToken::KeyGenerator - Generates keys based on shared passwords
SYNOPSIS
use Crypt::OpenToken::KeyGenerator;
$key = Crypt::OpenToken::KeyGenerator::generate($password, $keysize);
DESCRIPTION
This module implements a key generation function.
METHODS
- generate($password, $keysize)
-
Generates an OpenToken key using the provided
$password
. They generated key will$keysize
bytes in length.
AUTHOR
Graham TerMarsch (cpan@howlingfrog.com)
COPYRIGHT & LICENSE
Crypt::OpenToken
is Copyright (C) 2010, Socialtext, and is released under the Artistic-2.0 license.