[erlang-questions] [ANN] euuid 1.0.0 - an erlang UUID implementation

Michael Truog <>
Mon Aug 1 21:42:40 CEST 2011


There is simpler/faster code that serves the same purpose (rfc uuids, versions 1,3,4,5) under a similar license (BSD) here:
https://github.com/okeuday/uuid

Getting the real MAC address is possible in Erlang, though undocumented.  I include the Erlang pid integers within the node id for version 1 UUIDs and keep the version 1 state cacheable for quicker usage.

On 08/01/2011 11:37 AM, Martijn Rijkeboer wrote:
> Hello,
>
> As an exercise for learning Erlang I wrote an Universally Unique
> IDentifier (UUID) implementation as defined in RFC 4122. This module
> implements the UUID versions 1, 3, 4 and 5. It also implements a custom
> time based UUID that is based on version 1 but has a different layout to
> allow easy sorting on the creation date. This module is available as
> open-source under the MIT licence for anyone to use.
>
> You can take a look at the code on my github repository:
> - https://github.com/mrijkeboer/euuid
>
> Since this is my first Erlang program please let me know what you think.
> I'm open to suggestions and enhancements.
>
> Best regards,
>
>
> Martijn Rijkeboer
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>




More information about the erlang-questions mailing list