class method
self.uuid_v5
Ruby on Rails 5.2.8.1
Since v4.2.9Signature
self.uuid_v5(uuid_namespace, name)
Convenience method for uuid_from_hash using Digest::SHA1.
Parameters
-
uuid_namespacereq -
namereq
Source
# File activesupport/lib/active_support/core_ext/digest/uuid.rb, line 44
def self.uuid_v5(uuid_namespace, name)
uuid_from_hash(Digest::SHA1, uuid_namespace, name)
end
Defined in activesupport/lib/active_support/core_ext/digest/uuid.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Digest::UUID