A UUID creator specifically for PREMIS events based on UUID Version 3 (uuid built with a unique object identifier).
Add this line to your application's Gemfile:
gem 'ht_premis_uuid', :git => 'https://github.com/sethaj/ht_premis_uuid.git'
And then execute:
$ bundle
uuid = HtPremisUuid.generate('ht namespace', ' ht id', 'premis event name')