<?
define("SYSPATH", 1);
include("/usr/share/gallery3/modules/user/lib/PasswordHash.php");
$hash_generator = new PasswordHash(10, true);
echo $hash_generator->HashPassword($_SERVER["argv"][1]), "\n";
?>