module Base64

Ruby 1.9 has dropped the Base64 module, this is a replacement

We could replace all call by Array#pack(‘m’) and String#unpack(‘m’), but this module improves readability.