C
Cyril.Liu
[Note: parts of this message were removed to make it a legal post.]
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.generatecompact)
=> "d52553808dda012d4ba834159e33f83c"
But the string is too long for me, i want to encode it with base64.
Is any clever way to do this?
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.generatecompact)
=> "d52553808dda012d4ba834159e33f83c"
But the string is too long for me, i want to encode it with base64.
Is any clever way to do this?