From: "Cyril.Liu" Date: 2010-08-20T01:19:22+09:00 Subject: Is there any clever way to encode the uuid string with base64? --00504502c7045b5065048e2f8bd2 Content-Type: text/plain; charset=ISO-8859-1 I've got the uuid string using uuid.rb just like this: ree-1.8.7-2010.02 > uuid = UUID.new() => MAC: 34:15:9e:33:f8:3c Sequence: 19368 ree-1.8.7-2010.02 > uuid.generate(:compact) => "d52553808dda012d4ba834159e33f83c" But the string is too long for me, i want to encode it with base64. Is any clever way to do this? --00504502c7045b5065048e2f8bd2--