Darkfi contract uses computationally binding, perfectly hiding pedersen commitment function in both money, and consensus contracts.

cm = comm(m, r), m is data encrypted as curve field element, r is a random curve scalar blinding factor, comm is a computationally hiding, computationally binding commitment.

Curve point commitment

Commitment to a curve point pt is tuple , after conversion to affine coordinates of pt: