Skip to content

[about homomorphic update pedersen commitments] #235

@jscode017

Description

@jscode017

Hi I am new to this open-source community
Firstly, I want to say thank you to an amazing library
And may I ask that is there an implementation of semi homomorphic update of Pedersen commitments?
And looking at the interface, the message seems to be uint64_t, is there any way to deal with the overflow problem of the message?
e.g. if I would want to subtract two Pedersen commitments:
comm1-comm2
which would equal (m1-m2)G+(r1-r2)H
How could I deal with situations like m1<m2 and still stick to 64 bits unsigned integers?
TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions