mongo
On this page
UUID
Generates a BSON UUID object.
hex
Create a 32 byte hexadecimal string:
var myuuid = '0123456789abcdeffedcba9876543210'
Convert it to the BSON UUID subtype:
UUID(myuuid) BinData(3,"ASNFZ4mrze/+3LqYdlQyEA==")