From: Pavel Tsybulin <pavelt@alkorn.ru>
To: community@altlinux.ru
Subject: Re: [Comm] PHP crypt()
Date: Tue, 27 May 2003 09:13:53 +0400
Message-ID: <20030527051353.GA1499@pasha.alkorn.net> (raw)
In-Reply-To: <0333.030527@taxpol.krasnoyarsk.su>
On Tue, May 27, 2003 at 08:00:00AM +0800, aek wrote:
> Hello Dmitry,
>
> Tuesday, May 27, 2003, 7:00:44 AM, you wrote:
>
> <?php
> mcrypt_ecb (MCRYPT_BLOWFISH, "ключ", "шифруемые данные", MCRYPT_ENCRYPT);
> ?>
>
> Извиняйте что встреваю в имтиную беседу, но тоже есть задумка
> сделать веб форму на смену паролей на сервере.
> Мона поподробней ПЛЗ... Звиняйте еще раз.
Всем:
1) Потому, что нет уверенности, что mcrypt утановлен у заказчика.
2) Проблема решилась так:
$password = 'Мой пароль' ;
$crypted_password = crypt($password, '$2a$08$' . md5($pwd)) ;
Павел
next prev parent reply other threads:[~2003-05-27 5:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-26 20:03 Pavel Tsybulin
2003-05-26 23:00 ` Dmitry Zubov
2003-05-27 0:00 ` Re[2]: " aek
2003-05-27 5:13 ` Pavel Tsybulin [this message]
2003-05-27 13:49 ` Dmitry Zubov
2003-05-27 16:27 ` Pavel Tsybulin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030527051353.GA1499@pasha.alkorn.net \
--to=pavelt@alkorn.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git