Seeking method to represent GUID in most concise displayable format

  • Thread starter Thread starter Joseph Geretz
  • Start date Start date
J

Joseph Geretz

How many 'digits' would it require to display the same value in Base-64
using the following characters?

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+*

Any idea on how I'd go about making the conversion? I'm looking for the
ability to encode this information in the most concise possible displayable
format so that a transaction would be identified by a code such as
5rHrH+tt0*edt9, rather than d3a161b95384475da608061051f27b06.

(BTW, I've already seen
http://www.codeproject.com/KB/string/Compact_Guid_class.aspx. The algorithm
presented there simply does not work!)

Thanks for your advice!

- Joseph Geretz -
 
Sorry, the first part of the question got truncated.

A GUID requires 32 digits to display its value in Hex - e.g.
d3a161b95384475da608061051f27b06.

How many 'digits' would it require to display the same value in Base-64
using the following characters?
etc...

Thanks!

Joseph Geretz
 
Back
Top