[erlang-questions] Generating readable unique IDs for use outside erlang

Jared Kofron jared.nance@REDACTED
Thu Feb 10 17:28:30 CET 2011


I believe couch uses crypto's rand_bytes to accomplish this... something like 

to_hex(crypto:rand_bytes(16))

generates a UUID for them.


On Feb 10, 2011, at 6:47 AM, Ale wrote:

>> 
>> Any suggestions on this?
>> 
> 
> Why don't you generate UUID?
> http://en.wikipedia.org/wiki/Universally_unique_identifier
> 
> I found this googling:
> https://github.com/travis/erlang-uuid/blob/master/uuid.erl
> 
> cheers,
> -- 
> Ale.
> 
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
> 



More information about the erlang-questions mailing list