From: first name Date: 2012-04-06T10:40:41+09:00 Subject: Re: unexpected behavior of indexing / .length I found another potentially related and equally baffling bug: signature = Base64.encode64(@stored_priv_key.dsa_sign_asn1("message")) sometimes returns a signature of 74 characters and other times 78. This of course leads to crashing, when the signature size is 74. It seems to happen regardless of the input, as you can see here "message" is fixed size. I have already checked to make sure @stored_priv_key does not change. More confusing behavior :/ and a different problem but I figure I can put it in the same thread to avoid clutter. -- Posted via http://www.ruby-forum.com/.