module Dhall::Parser::Hash
Public Instance Methods
value()
click to toggle source
# File lib/dhall/parser.rb, line 524 def value protocol, data = string.split(/:/, 2) Dhall::Import::IntegrityCheck.new( code: Multihashes::TABLE.key( protocol.sub(/\Asha(\d{3})/, "sha2-\\1") ), digest: [data].pack("H*") ) end