in reply to Shorter ID Codes

Converting to base 64 will give you short, readable, reversible values.

use Math::BaseCnv; print cnv( 4345317546, 10, 64 ); 4304Yg print cnv( '4304Yg', 64, 10 ); 4345317546

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^2: Shorter ID Codes
by davido (Cardinal) on Oct 28, 2004 at 19:39 UTC

    4304Yg isn't vocally readable. Here's how the conversation would go:

    4 3 oh... no, zero. Yes, 4 3 zero 4 why gee. ...oh, that's upper case Y, and lower case g.


    Dave