It does not, but there is a canonicalization algorithm, which may meet
your needs:

    https://capnproto.org/encoding.html#canonicalization

Quoting Ghadi Shayban (2017-07-20 10:41:42)
>    Does Cap'n Proto guarantee that generated payloads are byte-for-byte
>    identical when generated from different systems?
>    A prerequisite for this is ensuring that key serialization order is
>    consistent when serializing map/dicts. There are other sources of
>    nondeterminism though. [1] �  My use case is storing payloads in a
>    Merkle tree, where each node is SHA2'd, and may be generated from
>    different languages.
>    [1] protobuf determinism
>    https://stackoverflow.com/questions/31208725/is-protocol-buffer-seriali
>    zation-output-fully-deterministic
>
>    --
>    You received this message because you are subscribed to the Google
>    Groups "Cap'n Proto" group.
>    To unsubscribe from this group and stop receiving emails from it, send
>    an email to [1][email protected].
>    Visit this group at [2]https://groups.google.com/group/capnproto.
>
> Verweise
>
>    1. mailto:[email protected]
>    2. https://groups.google.com/group/capnproto

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Attachment: signature.asc
Description: signature

Reply via email to