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.