(uuid, uuidType)
| 76 | } |
| 77 | |
| 78 | function uuidToString(uuid, uuidType) { |
| 79 | var uuidType = uuidType || mongo_hacker_config['uuid_type']; |
| 80 | var hex = platformSpecificUuidModifications[uuidType](base64ToHex(uuid.base64())); |
| 81 | return hex.substr(0, 8) + '-' + hex.substr(8, 4) + '-' + hex.substr(12, 4) |
| 82 | + '-' + hex.substr(16, 4) + '-' + hex.substr(20, 12); |
| 83 | } |