On Mar 25, 2:21 pm, macm <moura.ma...@gmail.com> wrote:
>
> how can I create a hash algorithm like youtube?
Why do you think it's a hash? It's probably a unique ID represented
as a 62-based number...
> Some tips? How compile?
If you are content with case-insensitive IDs (meaning 36-based
numbers) you can use base_convert():
http://php.net/base_convert
If you insist on higher base, you would have to write the conversion
routine yourself...
Cheers,
NC