Chris Liaw

Results 3 issues of Chris Liaw

There are some situation the actual key size in bits are required, for example for display or analysis. For EC/RSA etc, the key size is fixed which is not really...

It does seems that the encoding of ASN1 is wrong during to_der. Simple test as following `require 'openssl'` `i = OpenSSL::ASN1::Integer.new(1,1,:explicit). # result is same if :implicit is used` `s...

asn.1

If both inputs are not the same length, MatchError shall be thrown. Instead RuntimeError "shares must match in size" should be returned.