EncodeAndHash returns both the packed representation of the object and its hash.
(h Hashable)
source not stored for this graph (policy: none)