Crypt::OpenToken::KeyGenerator - Generates keys based on shared passwords
use Crypt::OpenToken::KeyGenerator; my $keysize = 16; # Key size, in Bytes my $password = 'abc123'; # shared password my $key = Crypt::OpenToken::KeyGenerator::generate($password, $keysize);
This module implements a key generation function.
Generates an OpenToken key using the provided $password. They generated key will $keysize bytes in length.
$password
$keysize
Graham TerMarsch (cpan@howlingfrog.com)
Crypt::OpenToken is Copyright (C) 2010, Socialtext, and is released under the Artistic-2.0 license.
Crypt::OpenToken
To install Crypt::OpenToken, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::OpenToken
CPAN shell
perl -MCPAN -e shell install Crypt::OpenToken
For more information on module installation, please visit the detailed CPAN module installation guide.