Log in / Register
Login to your account
Remember Me
Create an account
Fields marked with an asterisk (*) are required.
Reload Captcha
 
Ideas in practice

ARENAM

Web dewelopment

Функция генератор пароля средствами Joomla.

public static function genRandomPassword($length = 8)
{
    $salt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    $base = strlen($salt);
    $makepass = '';
    $random = JCrypt::genRandomBytes($length + 1);
    $shift = ord($random[0]);
    for ($i = 1; $i <= $length; ++$i) {
        $makepass .= $salt[($shift + ord($random[$i])) % $base];
        $shift += ord($random[$i]);
    }
    return $makepass;
}

Недостаточно прав для комментирования

Purchase guarantees

Secured payment
100% Secure Payments with bank сards, YooMoney, QIWI and others.
Official invoice
You'll receive an official invoice instantly in accordance with law 54-F3.
Instant download
Instant download after payment.