class Avro::Schema

Public Instance Methods

sha256_resolution_fingerprint() click to toggle source

Returns the SHA-256 fingerprint of the Resolution Canonical Form for the schema as an Integer

# File lib/avro/resolution_fingerprint.rb, line 7
def sha256_resolution_fingerprint
  resolution_form = ResolutionCanonicalForm.to_resolution_form(self)
  Digest::SHA256.hexdigest(resolution_form).to_i(16)
end