<?php
include_once 'config/config.php';
include_once 'class/senha.class.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SENHAS SEGURAS / SECURE PASSWORDS</title>
</head>
<body>
<?php
/*
* Declarãção do objeto
* Declaration of object
*/
$ob = new Passwords();
/*
* Chamadas de métodos
* Call of methods
*/
echo $ob->generatePassword($NIVEL_SEGURO) . "<br>";
echo $ob->generatePassword($NIVEL_MUITO_SEGURO) . "<br>";
echo $ob->generatePassword($NIVEL_SUPER_SEGURO) . "<br>";
echo $ob->generatePassword($NIVEL_SEGURO_EXTREMO) . "<br>";
?>
</body>
</html>
|