NAME

Crypt::Password::Util - Crypt password utilities

VERSION

version 0.02

SYNOPSIS

use Crypt::Password::Util qw(looks_like_crypt);

say looks_like_crypt('$1$$...');               # 1
say looks_like_crypt('$apr1$4DdvgCFk$...');    # 1
say looks_like_crypt('$6$4DdvgCFk$...');       # 1
say looks_like_crypt('foo');                   # 0

FUNCTIONS

looks_like_crypt($str) => BOOL

Return true if $str looks like a crypted password.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.