<?php

if(!isset($argv[1])){
    echo("no argument value.\n");
	echo("php thisfile mailaddress\n");
	exit(-1);
}

$mail = $argv[1];
preg_match('/(.+)@(.+)/', $mail, $matches);
$id_sixteen = substr(crypt($matches[1], "m3"), 2, 8) . substr(crypt($matches[2], "Rz"), 2, 8);
echo($id_sixteen);

?>