From: 520079130762-0001@... (Michael Neumann) Date: 2002-12-10T05:26:54+09:00 Subject: Re: Ruby base64 encoding/decoding On Mon, 2002-12-09 at 21:22, Emiel van de Laar wrote: > Fellow Ruby users, > > I'm looking for a Ruby module that handles base64 encoding/decoding. RAA > doesn't seem to carry one. Perhaps it doesn't exist and someone with > some spare time could port the PERL version. :) In my opinion this is > a fundamental module the Ruby community is missing at the moment. See String#unpack and Array#pack. s = [binaryString].pack("m") # encodes binaryString as base64 s.unpack("m") # decodes s Regards, Michael