Catch Ruby errors before your users do. Monitor Ruby production errors in real-time and debug them in minutes, before users notice. Our open source Ruby SDK works with Rails, Sinatra, and more. Use this link and get one month free!

RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Updated base32-alphabets library - Encode / decode numbers in 5-bit groups (2^5=32)

Hello, I’ve updated the base32-alphabets library that lets you encode / decode numbers in 5-bit groups (2^5=32) with Kai, Crockford or Electrologica notation / alphabet (e.g. break down the 240-bit CryptoKitties genome into 12 groups of 4 (x 5-bit) genes, for example). What’s news in 1.1? You can use byte arrays for encode / decode too or use Base32.bytes to get all 5-bit chunks as an (integer) byte array. Happy unique bits & bytes slicing off the (block)chain with ruby.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in