On Fri, Dec 2, 2016 at 7:32 PM, Pedro Ribeiro <pedrib / gmail.com> wrote:
> cipher.padding = 0
>...
> This makes it work correctly and match the Python output.
> Not sure if this is a bug or not, if you think it is I'll just create a
> ticket in the tracker.

imho, ruby follows standard behaviour by padding  (padding=1),
[python does not follow standard]
just because ruby's result differs from that of python, doesnt mean
that ruby is wrong, no? anyway, you can ask the core team, they are
always happy to help.
see eg http://www.di-mgt.com.au/cryptopad.html

kind regards --botp

Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>