class method
self.uuid_v5
Ruby on Rails 4.2.9
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 42
def self.uuid_v5(uuid_namespace, name)
self.uuid_from_hash(Digest::SHA1, uuid_namespace, name)
end
Defined in activesupport/lib/active_support/core_ext/digest/uuid.rb line 42
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Digest::UUID