PHP UUID generator (RFC 4122 compliant).
Based on r-lyeh/sole.
use UUID\UUID; $uuid = new UUID($mac); echo($uuid->v1);
info at phpclasses dot org