[#20083] non-block IO with TCPSocket — dn <daisuke@...>

初投稿の中村と申します。よろしくお願いします。

19 messages 2000/01/06
[#20084] Re: non-block IO with TCPSocket — Tomoyuki Kosimizu <greentea@...2.so-net.ne.jp> 2000/01/06

越水です。

[#20091] Re: non-block IO with TCPSocket — とみたまさひろ <tommy@...> 2000/01/06

とみたです。

[#20133] おききしたーいでーす — akimaru <akimaru@...>

17 messages 2000/01/09
[#20138] Re: おききしたーいでーす — akimaru <akimaru@...> 2000/01/09

[#20237] Ruby/Tk multi interpreter — nagai@...

永井@知能.九工大です.

21 messages 2000/01/17
[#20242] Re: Ruby/Tk multi interpreter — nagai@... 2000/01/17

永井@知能.九工大です.

[#20248] Re: Ruby/Tk multi interpreter — Hideto ISHIBASHI <s34204@...> 2000/01/17

石橋秀仁です。

[#20254] Re: Ruby/Tk multi interpreter — nagai@... 2000/01/18

永井@知能.九工大です.

[#20271] Re: Ruby/Tk multi interpreter — Hideto ISHIBASHI <s34204@...> 2000/01/18

石橋秀仁です。

[#20249] FTP.open err for Windows95 — "Y Kataoka" <kataoka@...>

初めまして、片岡@KLUGと申します。

18 messages 2000/01/17
[#20252] Re: FTP.open err for Windows95 — "NAKAMURA, Hiroshi" <nakahiro@...> 2000/01/18

なひです.

[#20342] How to build ruby(current) with cygwin — KORIYAMA Naohiro <kory@...2.so-net.ne.jp>

はじめまして、こおりやまです。

19 messages 2000/01/23
[#20362] Re: How to build ruby(current) with cygwin — WATANABE Hirofumi <Hirofumi.Watanabe@...> 2000/01/24

わたなべです.

[#20422] Re: How to build ruby(current) with cygwin — Masaki Suketa<CQN02273@...> 2000/01/29

Win32OLE の作者の助田です.

[#20394] ruby-1.4.3 port to HPUX 11.00 — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

15 messages 2000/01/26

[ruby-list:20353] Re: パスワードの crypt とチェック

From: Tomoyuki Kosimizu <greentea@...2.so-net.ne.jp>
Date: 2000-01-23 21:14:55 UTC
List: ruby-list #20353
越水です。

From: Ayanosuke <aya@big.or.jp>
Subject: [ruby-list:20349] パスワードの crypt とチェック
Date: Mon, 24 Jan 2000 04:29:50 +0900

>  srandのseedは適当に考えたものを与えているのですが、より最適
> なものがあったら教えてください。

確か、『プロセスIDが良い』といったことを聞いた覚えがあるのですが、不確
かです。

>  Webのリファレンスには、2文字以上の任意の文字列とあったので、
> ほとんどの文字を入れてあるのですが、[./A-Za-z0-9]だけであると

GNU C Libraryのinfoには:

For the MD5-based algorithm, the SALT should consist of the string
`$1$', followed by up to 8 characters, terminated by either another
`$' or the end of the string.  The result of `crypt' will be the
SALT, followed by a `$' if the salt didn't end with one, followed by
22 characters from the alphabet `./0-9A-Za-z', up to 34 characters
total.  Every character in the KEY is significant.

For the DES-based algorithm, the SALT should consist of two
characters from the alphabet `./0-9A-Za-z', and the result of
`crypt' will be those two characters followed by 11 more from the
same alphabet, 13 in total.  Only the first 8 characters in the KEY
are significant.  If the `crypt' add-on is not installed, trying to
use the DES-based algorithm will return an empty string and set
`errno' to `EOPNOTSUPP'.

とあります。DESだったら`./0-9A-Za-z'から2文字、MD5だったら最高で8文
字で、文字種には特に制限はないように読めます。

glibc以外の実装は分かりません。

越水
greentea@fa2.so-net.ne.jp

In This Thread