Accepted answer

Well, it appeared that this genuinely didn't exist, so I wrote it myself.

Using the Python and Node.js implementations as a guide, I've authored a Ruby gem for this task.

It's brand new, so I welcome bug reports, feature requests and PRs.

Let me know if this helps anyone.

Related Query

More Query from same tag