יובל קוג'מן (Yuval Kogman) > KiokuX-User-0.01 > KiokuX::User::Util

Download:
KiokuX-User-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: KiokuX-User-0.02

NAME ^

KiokuX::User::Util - Utility functions for KiokuX::User

SYNOPSIS ^

        use KiokuX::User::Util;

        MyFoo::User->new(
                id       => "cutegirl17",
                password => crypt_password("justin timberlake!!!"),
        );

DESCRIPTION ^

This module provides utility functions.

EXPORTS ^

crypt_password @args

If an even sized list is passed the first argument is assumed to be 'passphrase'.

Defaults to creating a Authen::Passphrase::SaltedDigest with a 20 byte random salt.

syntax highlighting: