module Encode
@INTERNAL: Please use ObjectHash.hash()
instead. Contains methods to encode any object into a string. Performs the functions of the typeHasher in the original JS library. Encode
is a class rather than a module since it has to maintain a state.