 
 ;; ## Multihash Type
 
-;; Multihash identifiers have an `:algorithm` keyword and a `:digest` string giving
-;; the hexadecimal output on some byte content.
+;; Multihash identifiers have two properties:
+;;
+;; - `:code` is a numeric code for an algorithm entry in `digest-algorithms` or
+;;   an application-specific algorithm code.
+;; - `:digest` is a string holding the hex-encoded algorithm output.
 (deftype Multihash
   [^long code ^String digest _meta]
 

  (< 0 code 0x10))


(defn- lookup-algo
  "Look up algorithm details by code number."
  [code]

      :algorithm (code->name code)
      :length (/ (count digest) 2)
      :digest digest
      :bytes (hex->bytes digest)
      not-found))

  (valAt [this k]
