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

Download:
Crypt-OpenToken-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: