One other aside to this. I notice Ruby's current lib produces:

  Base64.encode64('a')
  => "YQ==\n"

But Minero's produces:

  Base64.encode('a')
  => "YQ=="

Is there supposed to be a trailing "\n" or not?

Thanks,
T.