Sha256: c0c87d37a4fd773ad29620c7fabfdf9e4d6b64b44d5d896ca7b70381791b71f7
Contents?: true
Size: 390 Bytes
Versions: 62
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true module Cocina module Models class MessageDigest < Struct include Checkable TYPES = %w[md5 sha1].freeze # The algorithm that was used attribute :type, Types::Strict::String.enum(*MessageDigest::TYPES) # The digest value hexidecimal encoded attribute :digest, Types::Strict::String end end end
Version data entries
62 entries across 62 versions & 1 rubygems