ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] шифрование пароля MD5-based
@ 2005-07-18 16:08 Лааз Вадим
  2005-07-18 16:17 ` Лааз Вадим
  0 siblings, 1 reply; 2+ messages in thread
From: Лааз Вадим @ 2005-07-18 16:08 UTC (permalink / raw)
  To: community

чем можно получить crypt('пароль') чтобы на выходе было что-то типа
$1$/Weu/0r2$Bxc1WGLmNZTR82tmfYmHH1
как мне растолковали, это md5.

в man crypt 3 ходил
там пишут
     FreeBSD-style MD5-based
       This ...

       prefix "$1$"

       Encoding syntax
              \$1\$[^$]{1,8}\$[./0-9A-Za-z]{22}


-- 
инженер-электроник Лааз Вадим
Железноводский ГУС
т. (87932) 3-14-30

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] шифрование пароля MD5-based
  2005-07-18 16:08 [Comm] шифрование пароля MD5-based Лааз Вадим
@ 2005-07-18 16:17 ` Лааз Вадим
  0 siblings, 0 replies; 2+ messages in thread
From: Лааз Вадим @ 2005-07-18 16:17 UTC (permalink / raw)
  To: community

В сообщении от 18 Июль 2005 20:08 Лааз Вадим написал(a):
сорри, вопрос снят
делается это crypt('пароль','$1$/Weu/0r2$')
ключем указывается не два символа (DES), а $1$........$
> чем можно получить crypt('пароль') чтобы на выходе было что-то типа
> $1$/Weu/0r2$Bxc1WGLmNZTR82tmfYmHH1
> как мне растолковали, это md5.
>
> в man crypt 3 ходил
> там пишут
>      FreeBSD-style MD5-based
>        This ...
>
>        prefix "$1$"
>
>        Encoding syntax
>               \$1\$[^$]{1,8}\$[./0-9A-Za-z]{22}

-- 
инженер-электроник Лааз Вадим
Железноводский ГУС
т. (87932) 3-14-30

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-18 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-18 16:08 [Comm] шифрование пароля MD5-based Лааз Вадим
2005-07-18 16:17 ` Лааз Вадим

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