From: Tanaka Akira Date: 2008-05-30T01:55:43+09:00 Subject: [ruby-dev:34890] OpenSSL::Random.random_bytes(Object.new) 以下のように、 OpenSSL::Random.random_bytes(Object.new) で negative string size (or size too big) (ArgumentError) という例外になるのは変なのではないでしょうか。 % ./ruby -ropenssl -ve 'p OpenSSL::Random.random_bytes(Object.new)' ruby 1.8.7 (2008-05-28 patchlevel 5000) [i686-linux] -e:1:in `random_bytes': negative string size (or size too big) (ArgumentError) from -e:1 -- [田中 哲][たなか あきら][Tanaka Akira]