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