Sha256: f8dd89e127292819f2a779c0bbd14c93d85966df98dcacdef9bda65e40903c45
Contents?: true
Size: 440 Bytes
Versions: 36
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Cocina module Models # The output of the message digest algorithm. 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
36 entries across 36 versions & 1 rubygems