The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.