genpsw

genpsw number generator.

GENPSW

NAME

genpsw - genpsw number generator.

SYNOPSIS

genpsw ([minl:integer, maxl:integer, seed:integer, init:bool, mode:"small"|"numeric"|"capital"|"special"|"restricted");

DESCRIPTION

This function generates a random password of len min(10) to max(10). The mode can be specified more then once.

For a same seed, the sequence is always the same.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

res={_{genpsw(mode:"small",seed:2,init:true); }}. return res=jsqxspshii.
res={_{genpsw(mode:"capital",minl:5,maxl:6,seed:2,init:true); }}. return res=JSQXS.
res={_{genpsw(mode:"number",minl:25,maxl:26,seed:2,init:true); }}. return This mode is invalid
res={_{genpsw(mode:"numeric",minl:25,maxl:26,seed:2,init:true); }}. return res=0754539433273662550447783.
res={_{genpsw(mode:"small",mode:"numeric",mode:"capital",minl:15,maxl:16,seed:2,init:true); }}. return res=j9v59fKNyeLkMNo.

SEE ALSO

{{ include("includes/maths.sn") }}

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.