Skip to content

Should we determine use which ModSqrt #1

@zyfrank

Description

@zyfrank

x = FQ(square_root_mod_prime(int(xsq), JUBJUB_Q))

As we know, an element of Fp may have several ModSqrt, for example 4 of F5 has two: 2, 3. should we determine use which ModSqrt? otherwise this will lead to conflict with other implementation(because they can choose another ModSqrt)

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